Add new function group which constructs groups from various inputs
#5179
Workflow file for this run
This file contains hidden or 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: Enforce PR 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: "release notes: added,release notes: highlight,release notes: not needed,release notes: to be added,release notes: use title,release notes: use body" | |
| REQUIRED_LABELS_ANY_DESCRIPTION: "Select at least one label concerning release notes" | |
| BANNED_LABELS: "breaking,DO NOT MERGE,needs tests,WIP" | |
| BANNED_LABELS_DESCRIPTION: "A PR should not be merged with `DO NOT MERGE`, `breaking`, `needs tests`, or `WIP` labels" |