robzolkos/Require Approved Issue
Closes PRs (or fails a status check) unless linked to an issue with a maintainer-approved reaction
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token for API calls | no | ${{ github.token }} |
| mode | What to do when a PR fails validation. "close" — close the PR with a comment (default). "status-check" — fail the check but leave the PR open. | no | close |
| reaction | Reaction content to look for on the linked issue (e.g. +1, heart, rocket) | no | +1 |
| no-issue-message | Comment posted when the PR has no linked issue | no | This PR does not reference an approved issue. Please link an issue using a closing keyword in your PR description (e.g. "Fixes #123"). The issue must have a reaction from a maintainer before a PR can be submitted. |
| no-approval-message | Comment posted when the linked issue lacks a maintainer approval reaction | no | The linked issue(s) do not have the required approval reaction from a maintainer. Please ask a maintainer to react to the issue before submitting a PR. |
| exempt-authors | Comma-separated list of usernames exempt from this check | no | "" |
| exempt-label | PRs with this label skip the check | no | "" |
Outputs
| name | description |
|---|---|
| approved | "true" or "false" — whether the PR passed validation |
| linked-issues | Comma-separated list of linked issue numbers found in the PR body |