actions-marketplace-validations/HasOneOfLabel
Github action that checks if a label is set within a list of labels, if one of that list is set, get it as output
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Nov 15, 2022
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/netcreaties_has-one-of-label@89d57eed0d0da3555ca998555bdd12121cfb5bf5 # no releases — HEAD as of 2026-07-12tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| labels | Comma separated list of labels to check for, first one found is returned | yes | "" |
| optional | (yes/no) Make the check optional preventing it from failing the build | no | no |
Outputs
| name | description |
|---|---|
| found | Boolean value as string that a label has been found within specified list e.g. 'false' or 'true' |
| matched | The first label that matches with one of the labels specified |