You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
461 B
16 lines
461 B
--- |
|
name: Enforce PR labels |
|
|
|
on: |
|
pull_request: |
|
types: [labeled, unlabeled, opened, edited, synchronize] |
|
jobs: |
|
enforce-label: |
|
name: EnforceLabel |
|
runs-on: ubuntu-20.04 |
|
steps: |
|
- name: Enforce Label |
|
uses: yogevbd/enforce-label-action@a3c219da6b8fa73f6ba62b68ff09c469b3a1c024 # 2.2.2 |
|
with: |
|
BANNED_LABELS: "hold,needs-qa" |
|
BANNED_LABELS_DESCRIPTION: "PRs with the hold or needs-qa labels cannot be merged"
|
|
|