a30167f016
No "Please" see https://docs.google.com/document/d/1mIHBZQXI3F5VEPPmR54PySixl8wSsdwVciSENJ0Unxg/edit#heading=h.vvb6vlxagbv8 for justification also make the and clause a little simpler. That is, this is now "Include release notes: yes AND at least a language label" instead of "Please include release notes: yes AND Please include at least a language label"
19 lines
831 B
YAML
19 lines
831 B
YAML
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: 'Include release notes: yes'
|
|
- must_include:
|
|
regex: '^(autotools|bazel|c#|c\+\+|cleanup|cmake|conformance tests|integration|go|java|javascript|objective-c|php|protoc|python|ruby|kotlin)'
|
|
message: 'at least a language label (e.g., c++, java, python). Or apply one of the following labels: autotools, bazel, cmake, cleanup, conformance tests, integration, protoc.'
|
|
- must_include:
|
|
regex: 'release notes: no'
|
|
message: 'Include release notes: no'
|