GitHub Action that posts a message to a Slack channel
Optional The Slack auth token. This is only required if environment variable SLACK_BOT_TOKEN
is not set.
Required The channel name to post to (example: #general
)
Required The message text to post
- name: Post Slack message
uses: ynab/[email protected]
with:
token: ${{ secrets.SLACK_API_TOKEN }}
channel: "#general"
text: ":tada: This is a test from the $GITHUB_ACTION workflow! <https://github.com/ynab/slack-post-message-action|Action Documentation>"