actions-marketplace-validations/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: actions-marketplace-validations/bhacaz_label-regex@fd4ddd69329dbbba308b3d0d1d4261b450662aef # no releases — HEAD as of 2026-07-12tags 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