| 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' |