mirror of
https://github.com/python/cpython.git
synced 2024-11-27 23:47:29 +01:00
CI: Do not allow merge if labelled DO-NOT-MERGE (#103337)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
This commit is contained in:
parent
264b87f7fd
commit
090e26ea80
17
.github/workflows/require-pr-label.yml
vendored
Normal file
17
.github/workflows/require-pr-label.yml
vendored
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user