Publish PRs as a message to a slack channel updates the message with emojis representing the PR status.
The message format used is
repositoryName #pullRequestNumber title
and links to the PR in Github
Required A bot token for the app from Slack
The token needs the following scopes:
channels:history
channels:read
chat:write
reactions:read
reactions:write
Required The signing secret for the app from Slack
The channel id for the Slack channel that the bot should post to. The must have access to the channel. If missing the action will post the message to all channels that the bot is a member of.
uses: milkywire/slack-pr-actions
env:
SLACK_SIGNING_SECRET: ${{ secrets.SLACK_SIGNING_SECRET }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
slack-channel-id: C02B6809Z43