mheap/Require Labels

Require labels to be added to a pull request before merging

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenThe GitHub token to use when calling the APIno${{ github.token }}
labelsComma or new line separated list of labels to matchyes
modeThe mode of comparison to use. One of: exactly, minimum, maximumyes
countThe required number of labels to matchyes
messageThe message to log and to add to the PR (if add_comment is true). See the README for available placeholdersnoLabel error. Requires {{errorString}} {{count}} of: {{ provided }}. Found: {{ applied }}
add_commentAdd a comment to the PR if required labels are missingnofalse
exit_typeThe exit type of the action. One of: failure, successno
use_regexEvaluate the values in `labels` as regular expressionsfalse
namedescription
labelsThe labels that were matched as a comma separated string
statusThe status of the action.