lee-lott-actions/Set Pull Request Review Status
A GitHub Action to update the review status of a Pull Request using the GitHub REST API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| pr-number | The number of the pull request whose review status is to be updated | yes | — |
| repo-name | The name of the repository | yes | — |
| org-name | The name of the GitHub organization | yes | — |
| pr-status | The type of review event to submit. Allowed values: - APPROVE: Approve the PR - REQUEST_CHANGES: Request changes on the PR - COMMENT: Leave a PR review comment | yes | — |
| pr-message | Message to include in the review. | yes | — |
| token | GitHub token with access to pull requests | yes | — |
Outputs
| name | description |
|---|---|
| result | Result of the attempt to update the Pull Request Status ("success" or "failure") |
| error-message | Error message if the Pull Request Status update fails |