mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-09-21 04:07:54 +03:00
21 lines
592 B
YAML
21 lines
592 B
YAML
name: Notify Slack on PR Review Request
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [review_requested]
|
|
|
|
jobs:
|
|
notify_slack:
|
|
runs-on: ubuntu-latest
|
|
if: contains(github.event.pull_request.requested_teams.*.slug, 'volunteer-a11y-reviewers')
|
|
steps:
|
|
- name: Notify Slack
|
|
uses: slackapi/slack-github-action@v1.24.0
|
|
with:
|
|
payload: |
|
|
{ "pr_url": "${{ github.event.pull_request.html_url }}",
|
|
"pr_title": "${{ github.event.pull_request.title }}"
|
|
}
|
|
env:
|
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|