An action preventing merge with specific labels
This commit is contained in:
parent
02b1fc5437
commit
8c99cdfb50
1 changed files with 13 additions and 0 deletions
13
.github/workflows/block_merge.yml
vendored
Normal file
13
.github/workflows/block_merge.yml
vendored
Normal 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"
|
Loading…
Add table
Reference in a new issue