bhacaz/Label Regex

Use Pull Request fields and regex to create and assign automatically label on Pull Requests

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Oct 7, 2024
License
None
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: bhacaz/label-regex@b4b94d2a5caa9f699371a00b5b5f0383fc2f3704 # v2.1

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

namedescriptionrequireddefault
fieldThe field to apply the regex and found the label. Permitted values or `title`, `branch` and `body`.yesWorld
regexThe regex to match with the field. Example: `([A-Z]+)-`, will match `FIX-1234 My awsome bug fix` => `FIX`yesWorld
lowercaseForce to lowercase the label to assignnotrue
tokenA personal Github access tokenno${{ github.token }}

no outputs