What's changed
Here's a third take of the release candidate for slackapi/slack-github-action@v2
from the v2-development
branch 🍁
The release includes numerous and significant breaking changes for all techniques, and for now we recommend reading the README.md
to discover what's changed for the techniques you're using. A more detailed migration guide will soon follow! 📚
More details for those planning to experiment
A few improvements to error handling and outputs throughout this GitHub Action were included from findings in recent testing!
To use this GitHub step in a GitHub workflow, please check that you're using this release candidate:
uses: slackapi/slack-github-action@v2.0.0-rc.3
Changes required to make existing workflows work are suggested in the README.md
. But for those wanting a sneak peak, posting a message using a bot token is now done with patterns like so:
- name: Post to a Slack channel
uses: slackapi/slack-github-action@v2.0.0-rc.3
with:
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: |
channel: ${{ secrets.SLACK_CHANNEL_ID }}
text: "howdy <@channel>!"
Sharing feedback
As development reaches more stable commits, your feedback and findings in these tagged changes is so important! Please feel free to report an issue or leave a comment if something doesn't seem right. We're hoping this rollout won't be a spooky one! ✨