slack-github-action | Send data into Slack using this GitHub Action | Chat library
kandi X-RAY | slack-github-action Summary
kandi X-RAY | slack-github-action Summary
Send data into Slack using this GitHub Action!
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of slack-github-action
slack-github-action Key Features
slack-github-action Examples and Code Snippets
Community Discussions
Trending Discussions on slack-github-action
QUESTION
I've added github action that sends a message on our slack channel on every release.
I've managed to get repo name and tag from github context, but I'm also trying and failing to get release title and release notes in that message. I've tried these combinations:
...ANSWER
Answered 2022-Jan-17 at 17:15Instead of triggering on the tag, trigger on the release creation. That way the release information will be present.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install slack-github-action
Copy the webhook URL (https://hooks.slack.com/workflows/....) and add it as a secret in your repo settings named SLACK_WEBHOOK_URL.
Add a step to your GitHub action to send data to your Webhook.
Configure your Slack workflow to use variables from the incoming payload from the GitHub Action. You can select where you want to post the data and how you want to format it in Slack's worflow builder interface.
Create a Slack App for your workspace (alternatively use an existing app you have already created and installed).
Add the chat.write bot scope under OAuth & Permissions.
Install the app to your workspace.
Copy the app's Bot Token from the OAuth & Permissions page and add it as a secret in your repo settings named SLACK_BOT_TOKEN.
Invite the bot user into the channel you wish to post messages to (/invite @bot_user_name).
Create a Slack App for your workspace (alternatively use an existing app you have already created and installed).
Add the incoming-webhook bot scope under OAuth & Permissions.
Install the app to your workspace (you will select a channel to notify).
Activate and create a new webhook under Incoming Webhooks.
Copy the Webhook URL from the Webhook you just generated add it as a secret in your repo settings named SLACK_WEBHOOK_URL.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page