Prevent merging if PR marked DO NOT MERGE

pull/18319/head
Vijay Pai 6 years ago committed by GitHub
parent c5311260fd
commit 9f9c03d0f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      .github/mergeable.yml

@ -1,14 +1,18 @@
mergeable:
pull_requests:
label:
or:
- and:
and:
- must_exclude:
regex: '^disposition/DO NOT MERGE'
message: 'Pull request marked not mergeable'
- or:
- and:
- must_include:
regex: 'release notes: yes'
message: 'Please include release note: yes'
- must_include:
regex: '^lang\/'
message: 'Please include a language label'
- must_include:
regex: 'release notes: yes'
message: 'Please include release note: yes'
- must_include:
regex: '^lang\/'
message: 'Please include a language label'
- must_include:
regex: 'release notes: no'
message: 'Please include release note: no'
regex: 'release notes: no'
message: 'Please include release note: no'

Loading…
Cancel
Save