automattic/Required Review
Check that a Pull Request has reviews from required teams.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| requirements | Requirements, as a string containing YAML. Either this or `requirements-file` is required. | no | — |
| requirements-file | Requirements file. Either this or `requirements` is required. | no | — |
| status | Status context for the status check. | no | Required review |
| fail | Fail the status check if a review is required. | no | false |
| request-reviews | Automatically request reviews from teams or users needed to fulfill a requirement. | no | false |
| token | GitHub Access Token. The user associated with this token will show up as the "creator" of the status check, and must have access to read pull request data, create status checks (`repo:status`), and to read your organization's teams (`read:org`). | yes | — |
Outputs
| name | description |
|---|---|
| requirements-satisfied | True if the review requirements are satisfied, false otherwise |
| teams-needed-for-review | JSON-stringified array of team names that are needed to review the PR. |