rjstone/Discord Webhook Notify

Send notifications to Discord using a webhook. Works with all execution environments including windows, macos, and linux.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
webhookUrlDiscord webhook URL. Should be stored in a repo secret (Settings>Security>Secrets) and inserted in the action call as a context expression. yes
flagsA whitespace-separated list of MessageFlags. The only one supported currently is SuppressNotifications. no""
usernameUsername to display in discord. Must be 2-32 chars long and can't contain: @, #, :, ```, discord Also can't be "here" or "everyone", for obvious reasons. noNotification (Github Actions)
avatarUrlURL to png of discord avatar to use. Default is the GitHub monochrome mark cat logo. May not work depending on Discord policy. nohttps://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
textText to be sent as normal text above the embed. Defaults to empty string.no
severitySeverity level - info, warn, error, or none. Using "none" will cause no embed to be added. Using any other value will cause an embed with a set of matching defaults to be added. nonone
colorNotification embed color in the form #rrggbb (hex). Default determined by severity.no
titleTitle for the embed. Defaults to severity long terminology.no
descriptionEmbed notification message. Default provides some minimal github.context workflow info.no
detailsAdditional text after the description in case you want to retain the default embed description. Defaults to empty string. no
footerFooter for the embed. Defaults to long terminology severity.no
processingOptions(EXPERIMENTAL) Set to "percentDecode" if you want some inputs that are often multi-line strings to be run through "percent decoding" using decodeURIComponent(). This can be useful in cases where the output from another action should contain newlines, but won't be preserved by the Workflow system if it does. no""
holddownTimeThe minimum amount of time in miliseconds between successive notifications to avoid triggering Discord's rate limiting. no3000
lockfileDirThe directory where the lockfile used for saving last run time is stored. no.

no outputs