2022-02-16 15:43:46 +01:00
|
|
|
---
|
|
|
|
name: Enforce PR labels
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [labeled, unlabeled, opened, edited, synchronize]
|
|
|
|
jobs:
|
|
|
|
enforce-label:
|
|
|
|
name: EnforceLabel
|
2024-05-06 16:18:38 +02:00
|
|
|
runs-on: ubuntu-22.04
|
2022-02-16 15:43:46 +01:00
|
|
|
steps:
|
|
|
|
- name: Enforce Label
|
2023-06-13 16:57:02 +02:00
|
|
|
uses: yogevbd/enforce-label-action@a3c219da6b8fa73f6ba62b68ff09c469b3a1c024 # 2.2.2
|
2022-02-16 15:43:46 +01:00
|
|
|
with:
|
2023-01-03 20:09:13 +01:00
|
|
|
BANNED_LABELS: "hold,needs-qa"
|
|
|
|
BANNED_LABELS_DESCRIPTION: "PRs with the hold or needs-qa labels cannot be merged"
|