Check required reviews #78415
Workflow file for this run
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: Check required reviews | |
on: | |
pull_request_review: | |
pull_request: | |
types: [ opened, reopened, synchronize ] | |
jobs: | |
check_required_reviews: | |
name: Checking required reviews | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name | |
timeout-minutes: 1 # 2021-01-18: Successful runs seem to take ~15 seconds. | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check for required review approval | |
uses: automattic/action-required-review@v3 | |
with: | |
token: ${{ secrets.API_TOKEN_GITHUB }} | |
requirements-file: .github/files/required-review.yaml |