egmacke/action-check-label
Check for the presence or absence of a label on a PR
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| label | The label to test for | yes | — |
| state | The state of the label | no | present |
| github_token | A github token | no | ${{ github.token }} |
| repo | The owner and repository name | no | ${{ github.repository }} |
| fail_on_error | Whether to fail the workflow if the state doesn't match | no | true |
Outputs
| name | description |
|---|---|
| pass | Whether the label(s) is/are all present or absent |