Notify Slack GitHub Action is a simple GitHub Action to notify Slack. The action uses OpenID Connect for authentication. You don't need to manage any secrets, such as Incoming Webhook URLs or Bot User OAuth Token.
- Go to https://gha-notify.shogo82148.com/
- Click the "Add to Slack" button
- Invite @actions-notify-slack bot into your channel.
- Grant the write permission to your repository by calling the slash command
/gha-notify ORG/REPO
. - Add the following step to your workflow.
- uses: shogo82148/actions-notify-slack@v0
with:
team-id: T3G1HAY66 # replace it to your team id
channel-id: C3GMGG162 # replace it to your channel id
payload: '{"text": "hello world"}'