Skip to content

Commit 8ae7b23

Browse files
Add workflow to check for DO-NOT-MERGE label
1 parent c680660 commit 8ae7b23

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Check labels
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, labeled, unlabeled, synchronize]
6+
7+
jobs:
8+
label-dnm:
9+
name: DO-NOT-MERGE
10+
if: github.repository_owner == 'python'
11+
runs-on: ubuntu-latest
12+
permissions:
13+
pull-requests: read
14+
timeout-minutes: 10
15+
16+
steps:
17+
- name: Check there's no DO-NOT-MERGE
18+
uses: mheap/github-action-required-labels@v5
19+
with:
20+
mode: exactly
21+
count: 0
22+
labels: |
23+
DO-NOT-MERGE

0 commit comments

Comments
 (0)