{"repo":"craftech-io/slack-action","free":true,"listed":false,"github":"https://github.com/craftech-io/slack-action","clone":"git clone https://github.com/craftech-io/slack-action.git","description":":octocat: Notify the result of Github Actions to a slack channel about the status of the workflows.","language":"JavaScript","stars":28,"topics":["actions","slack-webhook","slack","github-actions","javascript"],"license":null,"category":"chat-messaging","readme_excerpt":"Slack Action This action sends a notification of the current status of the job. The possible values for the status are: success, failure, or cancelled. First steps, you need to set GitHub secrets for SLACK WEBHOOK URL that is Incoming Webhook URL. You can customize the following parameters: - Sending messages using Incoming Webhooks - Creating and storing encrypted secrets Inputs variables With Parameter Required/Optional Description --------------------- ----------------- ------------ slack webhook url Required The Slack Incoming Webhooks URL. Please specify the environment secret for SLACK WEBHOOK URL status Optional The result of GitHub Actions job This parameter value must contain the following word: - success - failure - cancelled default is using ${{ job.status }} slack channel Optional Override the default incoming Webhook Slack settings slack username Optional Override the default incoming Webhook Slack settings Usage usage with the default incoming Webhook Slack settings, Create the file workflow.yml in .github/workflows folder. Scenarios You can override the default incoming Webhook Slack settings for the channel and username, also only send notification to slack if the job failure, e.g: Possible values are success, failure, or cancelled. Slack UI Locate the Slack conversation the message was sent to and it should be waiting for you, like this: Amazing work - you've now implemented notifactions the your workflows!","default_branch":null,"files":null,"tree":[],"storefront":"/r/craftech-io","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/craftech-io/slack-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}