blaahaj/Check PR risk label
Ensure that the PR risk labels are available in the repo, and that exactly one of them is applied to this PR
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Sep 25, 2023
- License
- MIT
Pinned Snippet
uses: blaahaj/check-risk-label@a63eeed257b59fa9f2c8f5630809067b82cc6076 # v1.0.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| ensure_labels_defined | Ensure that the risk labels exist in this repository (strict/names-only/false) | no | strict |
| github_token | GITHUB_TOKEN (not needed if ensure_labels_defined is false) | no | — |
| ensure_pr_is_labelled | Ensure that the pull request has exactly 1 risk label (true/false) | no | true |
| ensure_template_text_removed_text | Text to ensure is not present in the pull request description (skipped if empty) | no | "" |
| ensure_template_text_removed_message | Message to use if the ensure_template_text_removed text is found in the PR description | no | The description "Risks" section still seems to be as per template. Please fill it in. |
Outputs
no outputs