mauroalderete/Verify Labels in Pull Request

It verifies that the pull request has the expected labels

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Apr 2, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: mauroalderete/action-verify-labels@ba07c8f589bef9b243ba3a522216a4bbc7bdb152 # v1.3.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
allList of the labels. The pull request must be assigned with all of these labels listed. no""
noneList of the labels. The pull request must not be assigned with any of these labels listed. no""
someList of the labels. The pull request must be assigned with one or more of these labels listed. no""
just-oneList of the labels. The pull request must be assigned only one of these labels listed. no""
request-reviewBoolean flag. False by default. Should send a request review to notify whether the pull request passed or not this verification. nofalse
request-review-headerA string that is attached to the beginning of the review comment. Supports GitHub Flavored Markdown. no""
github-tokenThe Github token. Only is required if request-review == true.no""
pull-request-numberThe pull request number to verify. Only is required if this action isn't run on a pull_request event or pull_request_target event. no""
emit-error-if-verify-failThe verification end with an error if the pull request not satisfy the verification. If this is enabled and the process end without any issue, then the approved == 'false', action-status == 'END' and action-message contains a description of the reason for the fail. By default is true. notrue
namedescription
approvedBoolean that indicates if the pull request approved this verification or not.
action-statusExecution status of the action
action-messageMessage associated to the current status of the action