Add an optional "call-to-action" button for email notifications #35
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Required Reviews | |
on: | |
pull_request_review: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
check: | |
name: Checking required reviews | |
runs-on: ubuntu-latest | |
permissions: {} | |
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name | |
steps: | |
- uses: Automattic/[email protected] | |
with: | |
token: ${{ secrets.REQUIRED_REVIEWS_TOKEN }} | |
status: Required Reviews | |
requirements: | | |
- name: Cloud provider files | |
paths: | |
- '.github/' | |
- 'cloudformation/' | |
teams: | |
- "officers" | |
- "infra-chairs" | |
- name: Base Requirement | |
paths: unmatched | |
teams: | |
- "officers" | |
- "infra-chairs" | |
- "infra-leads" |