agilepathway/Label checker for pull requests
Checks pull requests for given labels
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| one_of | Comma-separated list of labels. Each pull request must be labeled with exactly one of these labels. | no | "" |
| none_of | Comma-separated list of labels. Each pull request must not be labeled with any of these labels. | no | "" |
| all_of | Comma-separated list of labels. Each pull request must be labeled with all of these labels. | no | "" |
| any_of | Comma-separated list of labels. Each pull request must be labeled with one or more of these labels. | no | "" |
| repo_token | See this link for an example of how to set this token: https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#example-passing-github_token-as-an-input | yes | — |
| github_enterprise_graphql_url | Only provide this if you are using GitHub Enterprise. For GitHub Enterprise Cloud enter `https://api.github.com/graphql` as the value. For Github Enterprise Server enter `http(s)://<hostname>/api/graphql` as the value. | no | "" |
| allow_failure | Set this to `true` if you do not want the build to fail when the label checker fails, e.g. if you want to use an `if` key in a following step or job to determine if that step should skip/fail/succeed based on the output of the label checker step. (The label checker step always outputs a step output of `success` or `failure`, which can be used for this purpose.) | no | "" |
| prefix_mode | Set this to `true` if you want to check for labels based on prefixes instead of checking for the entire label name. e.g. check for exactly one label with a prefix of "type/" or check there are no labels with a prefix "rework:". You can specify any string as the prefix to check on, it doesn't need to have a forward slash or colon, these are just examples. | no | "" |
Outputs
no outputs