Sends a Slack notification. Simple as that.
Appearance on Slack :
This GitHub action is part of a list of Actions that are located in an other repo. Feel free to check it out : https://github.com/Ilshidur/actions.
action "Slack notification" {
uses = "Ilshidur/actions/slack@master"
secrets = ["SLACK_WEBHOOK"]
args = "A new commit has been pushed."
}
NOTICE : for stability purposes, it is recommended to use the action with an explicit commit SHA-1 :
uses = "Ilshidur/actions/slack@416b4dd"
(=> link to the commits list : https://github.com/Ilshidur/actions/commits/master)
The argument is the message to display in the Slack notification.
Note : be careful to properly format your messages for Slack.
args = "Hello, beautiful ! I ran a GitHub Actions for you <3"
args = "I showed you my commit. Please respond."
SLACK_WEBHOOK
: the Slack webhook URL (required, see https://api.slack.com/incoming-webhooks).SLACK_CHANNEL
(optional) : overrides the default channel of the webhook.- That's all.
Don't forget to 🌟 Star 🌟 the repo if you like this GitHub Action !
Your feedback is appreciated