Check for a user/group to have reviewed a pull request
Required Github user names or org groups. e.g. username
or @org/group
Required A token with the following permissions is required for organization related checks: read:org
and repo:status
A common separated list of text to match in the pull body, which will skip this action if found.
A single tag name that will skip verifiying this PR
Missing reviews from
Add an auth token with the correct permissions (see above) to your secrets as AUTH_GITHUB_TOKEN
on:
pull_request:
types: ['opened','synchronize','reopened','edited','labeled','unlabeled']
pull_request_review:
types: ['submitted','edited','dismissed']
jobs:
require_review:
runs-on: ubuntu-latest
name: Requires Review
steps:
- name: Check reviewers
uses: remind101/action-require-reviewer@v1
with:
whoms: "user,@team"
skip: "skip-review","skipreview"
skip_tag: "skip-review"
GITHUB_TOKEN: ${{ secrets.AUTH_GITHUB_TOKEN }}