Skip to content

chore(deps): bump pre-commit hook frnmst/md-toc to v8.2.3 #522

chore(deps): bump pre-commit hook frnmst/md-toc to v8.2.3

chore(deps): bump pre-commit hook frnmst/md-toc to v8.2.3 #522

name: Notify Reviewers
on:
pull_request:
types:
- review_requested
workflow_call:
secrets:
SLACK_BOT_TOKEN:
description: >
The Slack API bot token for your custom app. It will be used to
request review of a pull request. The token must have the chat:write
scope.
required: true
SLACK_REVIEW_CHANNEL_ID:
description: >
The ID of the Slack channel to use to request review of a pull
request. Your bot should be a member. Secondary-click on the channel
in Slack, and select "Copy link" to copy a URL containing the channel
ID.
required: true
permissions:
contents: read # for actions/checkout in private repositories
jobs:
notify-reviewers:
name: Notify Reviewers
runs-on: ubuntu-22.04
steps:
- name: Check out slack-templates.
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: ScribeMD/slack-templates
- name: Send Slack notification requesting code review.
uses: ./
with:
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
channel-id: ${{ secrets.SLACK_REVIEW_CHANNEL_ID }}
template: reviewers