An action preventing merge with specific labels

This commit is contained in:
Roman Zabaluev 2022-01-19 14:48:53 +03:00 committed by GitHub
parent 02b1fc5437
commit 8c99cdfb50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

13
.github/workflows/block_merge.yml vendored Normal file
View file

@ -0,0 +1,13 @@
name: Pull Request Labels
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
jobs:
block_merge:
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v1
with:
mode: exactly
count: 0
labels: "status/blocked, status/needs-attention, status/on-hold, status/pending, status/triage"