bhacaz/Label Regex
Use Pull Request fields and regex to create and assign automatically label on Pull Requests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Oct 7, 2024
- License
- None
- Runtime
- Deprecated runtime
Pinned Snippet
uses: bhacaz/label-regex@b4b94d2a5caa9f699371a00b5b5f0383fc2f3704 # v2.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| field | The field to apply the regex and found the label. Permitted values or `title`, `branch` and `body`. | yes | World |
| regex | The regex to match with the field. Example: `([A-Z]+)-`, will match `FIX-1234 My awsome bug fix` => `FIX` | yes | World |
| lowercase | Force to lowercase the label to assign | no | true |
| token | A personal Github access token | no | ${{ github.token }} |
Outputs
no outputs