2022-02-16 15:42:28 +01:00
|
|
|
---
|
|
|
|
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
|
2022-05-03 20:01:37 +02:00
|
|
|
uses: yogevbd/enforce-label-action@8d1e1709b1011e6d90400a0e6cf7c0b77aa5efeb # v2.1.0
|
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"
|