This file contains 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 review check | |
on: | |
pull_request_review: | |
pull_request: | |
types: [ opened, reopened, synchronize ] | |
jobs: | |
check: | |
name: Checking required reviews | |
runs-on: ubuntu-latest | |
# GitHub should provide a "pull_request_review_target", but they don't and | |
# the action will fail if run on a forked PR. | |
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name | |
steps: | |
- uses: Automattic/action-required-review@v3 | |
with: | |
token: ${{ github.GITHUB_TOKEN }} | |
requirements: | | |
- paths: unmatched | |
teams: | |
- "@rcotter" |