GitHub Action
pr-reporter-slack
v1.0.7
Latest version
A github action that sends you slack messages when you have pull requests ready for review.
Add a incoming slack webhook by following the directions here: https://api.slack.com/messaging/webhooks#getting-started
PR Reporter will send messages to the slack channel you choose when setting up your webhook.
Add a new secret in your repo caled SLACK_WEBHOOK
and make the value the url of the slack webhook you created earlier.
Copy and paste the following snippet into your .yml file.
name: PR Reporter
on:
schedule:
# Run this every day at 9am and 1pm
- cron: '0 9,13 * * *'
jobs:
pr-reporter-slack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: SeanReece/pr-reporter-slack@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}