Skip to content

Commit

Permalink
CI: Do not allow merge if labelled DO-NOT-MERGE (python#103337)
Browse files Browse the repository at this point in the history
Co-authored-by: C.A.M. Gerlach <[email protected]>
  • Loading branch information
hugovk and CAM-Gerlach authored Apr 9, 2023
1 parent 264b87f commit 090e26e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/require-pr-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Check labels

on:
pull_request:
types: [opened, reopened, labeled, unlabeled, synchronize]

jobs:
label:
name: DO-NOT-MERGE
runs-on: ubuntu-latest

steps:
- uses: mheap/github-action-required-labels@v4
with:
mode: exactly
count: 0
labels: "DO-NOT-MERGE"

0 comments on commit 090e26e

Please sign in to comment.