GitHub Action for writing to a Discord webhook.
Required The webhook endpoint to write to.
Required The message contents to send.
The username to identify as with Discord.
The URL of the avatar to use for the message.
The notification level to use.
Set the title of the notification.
Apply the standard message template.
Exit with a failure code.
uses: Redstoned/discord-webhook@v2
with:
url: https://discord.com/api/webhooks/123457890/correct-horse-battery-staple
level: error
message: "I'm afraid I can't do that, Dave."
format: yes