netcreaties/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
- Stale
- License
- None
- Runtime
- Deprecated runtime
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 |