knadh/Approve PR creation from Issue

Mandate PR creation to require an explicit approval comment from a repo maintainer on an Issue discussion

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
approval_strApproval comment string to look for in the issue comment. Must include `{user}` which is substituted with the PR author's username.no/pr-welcome {user}
reference_strReference string in PR body pointing to the approval comment. Must include exactly one `{url}` placeholder.no/pr-clearance {url}
pr_autoclose_messageComment posted on the PR on auto-close/rejection.noThis PR was automatically closed because the reference to approval (issue) could not be found. Please open an issue first, get clearance from the maintainer, and reference the approval comment URL in your PR body in the format `/pr-clearance {url}`.
exclude_past_contributorsSkip checks for users who have previously contributed commits to the repo.nofalse
github_tokenGitHub token for API calls.no${{ github.token }}
min_diff_filesMin number of changed files in the PR to apply checks. 0 always checks.no0
min_diff_linesMin number of changed lines in the PR to apply checks. 0 always checks.no0

no outputs