Repository navigation
[PLA-2303] Report the human-review-policy status on PRs #2
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: Human review policy trigger | |
| # No-op: its completion triggers human-review-policy.yaml, which runs from the | |
| # default branch so that a PR cannot change the policy it is judged by. | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, ready_for_review, edited, closed] | |
| pull_request_review: | |
| types: [submitted, edited, dismissed] | |
| # Repos with a merge queue: the merge group's commit needs the status too. | |
| merge_group: | |
| types: [checks_requested] | |
| permissions: {} | |
| jobs: | |
| trigger: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo "PR ${{ github.event.pull_request.number }} ${{ github.event_name }}" |