sequelize/Draft Unfinished PRs

Automatically converts pull requests to draft when they are not ready to be merged

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenGitHub token used to interact with the GitHub API. Requires: pull-requests:write, checks:read, contents:read. no${{ github.token }}
draft-on-merge-conflictConvert PR to draft when it has merge conflicts.notrue
draft-on-any-labelsConvert PR to draft when it has any of these labels. Accepts a newline-separated or comma-separated list of label names. Leave empty to disable this check. no""
draft-on-changes-requestedConvert PR to draft when a reviewer has submitted a "Changes Requested" review and the PR author has not yet re-requested a review from that reviewer. notrue
draft-on-failing-required-checksConvert PR to draft when required CI checks are failing. The action will attempt to read required checks from branch protection rules. If it cannot (e.g. insufficient permissions), it falls back to flagging any failing check. notrue
dry-runWhen true, perform all checks but do not convert any PR to draft and do not post any comments. What would have happened is printed to the Actions log instead. nofalse
post-commentPost a comment on the PR explaining why it was converted to draft.notrue
comment-templateCustom comment template. Supports the following placeholders: {reasons} — a markdown list of reasons why the PR was drafted. Leave empty to use the default template. no""
namedescription
draftedJSON array of PR numbers that were converted to draft in this run. Empty array if no PRs were drafted.