mergeable.yml 831 B

123456789101112131415161718
  1. mergeable:
  2. pull_requests:
  3. label:
  4. and:
  5. - must_exclude:
  6. regex: '^disposition/DO NOT MERGE'
  7. message: 'Pull request marked not mergeable'
  8. - or:
  9. - and:
  10. - must_include:
  11. regex: 'release notes: yes'
  12. message: 'Include release notes: yes'
  13. - must_include:
  14. regex: '^(autotools|bazel|c#|c\+\+|cleanup|cmake|conformance tests|integration|go|java|javascript|objective-c|php|protoc|python|ruby|kotlin)'
  15. 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.'
  16. - must_include:
  17. regex: 'release notes: no'
  18. message: 'Include release notes: no'