What's changed
Here's take two for what's hoping to become 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 problem with the packaged and tagged release was fixed and this GitHub Action is in a more readied state for experimentation!
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.2
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.2
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! ✨