2022-02-16 15:42:28 +01:00
|
|
|
---
|
|
|
|
name: Enforce PR labels
|
|
|
|
|
|
|
|
on:
|
2022-11-08 19:54:29 +01:00
|
|
|
workflow_call:
|
2022-02-16 15:42:28 +01:00
|
|
|
pull_request:
|
|
|
|
types: [labeled, unlabeled, opened, edited, synchronize]
|
|
|
|
jobs:
|
|
|
|
enforce-label:
|
|
|
|
name: EnforceLabel
|
2024-02-08 21:56:39 +01:00
|
|
|
runs-on: ubuntu-22.04
|
2022-02-16 15:42:28 +01:00
|
|
|
steps:
|
|
|
|
- name: Enforce Label
|
2023-05-09 11:44:05 +02:00
|
|
|
uses: yogevbd/enforce-label-action@a3c219da6b8fa73f6ba62b68ff09c469b3a1c024 # 2.2.2
|
2022-02-16 15:42:28 +01:00
|
|
|
with:
|
2022-09-07 16:33:29 +02:00
|
|
|
BANNED_LABELS: "hold,needs-qa"
|
|
|
|
BANNED_LABELS_DESCRIPTION: "PRs with the hold or needs-qa labels cannot be merged"
|