send-guilded-webhook-ghaction

A GitHub Action to send Guilded webhook.

https://github.com/hugoalh/send-guilded-webhook-ghaction

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.1%) to scientific vocabulary

Keywords

gh-action ghaction github-action guilded webhook
Last synced: 4 months ago · JSON representation ·

Repository

A GitHub Action to send Guilded webhook.

Basic Info
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 2
  • Releases: 2
Topics
gh-action ghaction github-action guilded webhook
Created about 1 year ago · Last pushed 9 months ago
Metadata Files
Readme Contributing License Citation Codeowners Security

README.md

Send Guilded Webhook (GitHub Action)

⚖️ MIT

GitHub: hugoalh/send-guilded-webhook-ghaction

A GitHub Action to send Guilded webhook.

[!IMPORTANT] - This documentation is v0.1.0 based; To view other version's documentation, please visit the versions list and select the correct version.

🌟 Features

  • Support attachments/files.

🔰 Begin

🎯 Targets

| | GitHub | |:--|:--| | GitHub Actions Runner | ✔️ Docker |

[!NOTE] - It is possible to use this action in other methods/ways which not listed in here, however those methods/ways are not officially supported, and should beware maybe cause security issues.

#️⃣ Resources Identifier

  • GitHub: hugoalh/send-guilded-webhook-ghaction[@{Tag}]

[!NOTE] - It is recommended to use this action with tag for immutability.

🛡️ GitHub Token Permissions

This action does not request any GitHub token permission.

🧩 Inputs

Almost all of the inputs are optional, but these groups of inputs must be defined:

| Legend | Description | |:-:|:--| | 🔐 | Should be an encrypted secret. |

key

🔐 <string> Guilded webhook key; These syntaxes are acceptable:

  • Webhook ID & Token: {webhook.id}/{webhook.token}
  • URL: https://media.guilded.gg/webhooks/{webhook.id}/{webhook.token}

username

<string> Override the default webhook username, maximum 80 characters.

avatar_url

<string> Override the default webhook avatar, only support URL of HTTP and HTTPS.

content

<string> Message content, maximum 2000 characters; Support Guilded Markdown.

content_links_no_embed

<RegExp[]> Links' regular expressions to prevent Guilded resolve and display matches links in the content as embed under the message, only support URL of HTTP and HTTPS, separate each value per line.

Examples:

  • All: .+
  • .png Image: \.png(?:\?|#|$)
  • .webp Image: \.webp(?:\?|#|$)
  • Twitch: twitch\.tv

embeds

<object[]> Message embed rich content, by JSON or YAML with restricted syntaxes, maximum 10 embeds, and maximum 6000 characters for summation from inputs:

embeds[*].title

<string> Message embed title, maximum 256 characters; Support Guilded Markdown.

embeds[*].description

<string> Message embed description, maximum 4096 characters; Support Guilded Markdown.

embeds[*].url

<string> Message embed URL.

embeds[*].timestamp

<string> Message embed timestamp, by ISO 8601 format (e.g.: "2011-11-11T11:11:11Z").

embeds[*].color

<number | string = 2105893> Message embed colour (i.e.: left border's colour of the embed); These syntaxes are acceptable:

  • RGB Integer: {number} (e.g.: 2105893)
  • Hex: #{hex}{hex}{hex} / #{hex}{hex}{hex}{hex}{hex}{hex} (e.g.: #0063B1)
  • Namespace: (e.g.: Blue)
  • CSS: (e.g.: rgb(32, 34, 37))
  • Random: Random

[!NOTE] - Alpha channel is not supported. - General namespace are provided by NPM package color-name-list, list maybe change or remove without any notification, it is recommended to use value instead.

embeds[*].footer

<object> Message embed footer.

embeds[*].footer.text

<string> Message embed footer text, maximum 2048 characters; Support Guilded Markdown.

embeds[*].footer.iconUrl

<string> Message embed footer icon, only support URL of HTTP, HTTPS, and attachments.

embeds[*].image

<object> Message embed image.

embeds[*].image.url

<string> Message embed image URL, only support URL of HTTP, HTTPS, and attachments.

embeds[*].thumbnail

<object> Message embed thumbnail.

embeds[*].thumbnail.url

<string> Message embed thumbnail URL, only support URL of HTTP, HTTPS, and attachments.

embeds[*].author

<object> Message embed author.

embeds[*].author.name

<string> Message embed author name, maximum 256 characters.

embeds[*].author.url

<string> Message embed author URL.

embeds[*].author.iconUrl

<string> Message embed author icon, only support URL of HTTP, HTTPS, and attachments.

embeds[*].fields

<object[]> Message embed fields, maximum 25 fields.

embeds[*].fields[*].name

<string> Message embed field name, maximum 256 characters; Support Guilded Markdown.

embeds[*].fields[*].value

<string> Message embed field value, maximum 1024 characters; Support Guilded Markdown.

embeds[*].fields[*].inline

<boolean = false> Whether the message embed field should display inline.

files

<string[]> Message attachments/files, by Glob path or literal path (select by input files_glob) under the workspace, separate each value per line, maximum 8 MB and 10 files.

files_glob

<boolean = true> Whether input files should accept Glob path instead of literal path.

truncate_enable

<boolean = true> Whether to try truncate firstly when inputs are too large.

truncate_ellipsis

<string = "..."> Ellipsis mark.

truncate_position

<string = "end"> Ellipsis position.

  • "end": At the end of the string.
  • "middle": At the middle of the string.
  • "start": At the start of the string.

🧩 Outputs

response

<string> Response content.

status_code

<number> Request status code.

status_ok

<boolean> Whether the request was successful.

status_text

<string> Request status text.

✍️ Examples

  • Hello, world! yml jobs: job_id: name: "Send Guilded Webhook" runs-on: "ubuntu-latest" steps: - uses: "hugoalh/send-guilded-webhook-ghaction@v0.1.0" with: key: "${{secrets.GUILDED_WEBHOOK_KEY}}" content: "Hello, world!"

📚 Guides

Owner

  • Name: hugoalh
  • Login: hugoalh
  • Kind: user
  • Location: Everywhere
  • Company: @hugoalh-studio

Lead of @hugoalh-studio; Full time software developer; Part time freelancer

Citation (CITATION.cff)

# yaml-language-server: $schema=https://citation-file-format.github.io/1.2.0/schema.json
cff-version: "1.2.0"
title: "Send Guilded Webhook (GitHub Action)"
message: "If you use this software, please cite it using the metadata from this file."
type: "software"
authors:
  - name: "hugoalh"
repository-code: "https://github.com/hugoalh/send-guilded-webhook-ghaction"
keywords:
  - "gh-action"
  - "ghaction"
  - "github-action"
  - "guilded"
  - "webhook"
license: "MIT"

GitHub Events

Total
  • Release event: 2
  • Watch event: 1
  • Delete event: 9
  • Issue comment event: 9
  • Push event: 27
  • Pull request event: 19
  • Create event: 18
Last Year
  • Release event: 2
  • Watch event: 1
  • Delete event: 9
  • Issue comment event: 9
  • Push event: 27
  • Pull request event: 19
  • Create event: 18

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 0
  • Total pull requests: 16
  • Average time to close issues: N/A
  • Average time to close pull requests: 7 days
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.75
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 16
Past Year
  • Issues: 0
  • Pull requests: 16
  • Average time to close issues: N/A
  • Average time to close pull requests: 7 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.75
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 16
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (21)
Top Labels
Issue Labels
Pull Request Labels
Platform/Docker (21) Type/Dependency 📦 (21) Status/Pending 🔵 (21)

Dependencies

.github/workflows/announce-new-release.yml actions
  • hugoalh/send-discord-webhook-ghaction main composite
.github/workflows/invoke-codeql-analysis.yml actions
  • actions/checkout v4 composite
  • github/codeql-action/analyze v3 composite
  • github/codeql-action/autobuild v3 composite
  • github/codeql-action/init v3 composite
.github/workflows/invoke-devskim-analysis.yml actions
  • actions/checkout v4 composite
  • github/codeql-action/upload-sarif v3 composite
  • microsoft/DevSkim-Action v1 composite
.github/workflows/publish-docker-image.yml actions
  • actions/checkout v4 composite
  • docker/build-push-action v6 composite
  • docker/login-action v3 composite
  • docker/metadata-action v5 composite
  • docker/setup-buildx-action v3 composite
  • docker/setup-qemu-action v3 composite
.github/workflows/review-deno-code.yml actions
  • actions/cache/restore v4 composite
  • actions/cache/save v4 composite
  • actions/checkout v4 composite
  • denoland/setup-deno v2 composite
.github/workflows/scan-virus.yml actions
  • actions/checkout v4 composite
  • hugoalh/scan-virus-ghaction/clamav v0.20.1 composite
.github/workflows/sync-labels.yml actions
  • EndBug/label-sync v2 composite
  • actions/checkout v4 composite
.github/workflows/test-build.yml actions
  • hugoalh/send-guilded-webhook-ghaction/_build main composite
.github/workflows/test-package.yml actions
  • hugoalh/send-guilded-webhook-ghaction main composite
_build/action.yml actions
  • ../Dockerfile * docker
action.yml actions
  • docker://ghcr.io/hugoalh/send-guilded-webhook-ghaction 0.1.0 docker
Dockerfile docker
  • debian 12.8-slim build
  • denoland/deno bin-2.0.6 build