Enforce Hold label

This commit is contained in:
Matt Gibson 2022-02-16 08:10:14 -05:00
parent 10ffdce5b9
commit 67373f133f
1 changed files with 13 additions and 0 deletions

13
.github/workflows/enforce-labels.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Enforce PR labels
on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-label:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/enforce-label-action@8d1e1709b1011e6d90400a0e6cf7c0b77aa5efeb
with:
BANNED_LABELS: "hold"
BANNED_LABELS_DESCRIPTION: "PRs on hold cannot be merged"