Ensure that annotations are well-ordered in optimisation #22097
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Labels | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
types: [labeled, unlabeled, opened, reopened, edited, synchronize] | |
jobs: | |
enforce-labels: | |
name: Check for blocking labels | |
runs-on: ubuntu-latest | |
timeout-minutes: 2 | |
steps: | |
- uses: yogevbd/[email protected] | |
with: | |
# REQUIRED_LABELS_ANY: "bug,enhancement,skip-changelog" | |
# REQUIRED_LABELS_ANY_DESCRIPTION: "Select at least one label ['bug','enhancement','skip-changelog']" | |
BANNED_LABELS: "needs docs,needs compat annotation,needs more info,needs nanosoldier run,needs news,needs pkgeval,needs tests,DO NOT MERGE" | |
BANNED_LABELS_DESCRIPTION: "A PR should not be merged with `needs *` or `DO NOT MERGE` labels" |