check if package version exists in pkgorigins
before trying to find it in the project file
#24957
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/enforce-label-action@2.2.2 | |
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" |