Add Mergeable config

This commit is contained in:
Hao Nguyen 2019-04-09 17:33:43 -07:00
parent 5b232b8ecb
commit 925aa60ff2

18
.github/mergeable.yml vendored Normal file
View File

@ -0,0 +1,18 @@
mergeable:
pull_requests:
label:
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: '^(c#|c\+\+|cleanup|conformance tests|integration|java|javascript|go|objective-c|php|python|ruby)'
message: 'Please include at least a language label (e.g., c++, java, python). Or apply one of the following labels: cleanup, conformance tests, integration.'
- must_include:
regex: 'release notes: no'
message: 'Please include release note: no'