aboutsummaryrefslogtreecommitdiff
path: root/.github/mergeable.yml
blob: c82cd2e4739059ccdf9649ff4361099f8e845556 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
mergeable:
  pull_requests:
    label:
      and:
        - must_exclude:
            regex: '^disposition/DO NOT MERGE'
            message: 'Pull request marked not mergeable'
        - must_exclude:
            regex: '^disposition/Needs Internal Changes'
            message: 'Pull request must be cherrypicked. Remove this label when ready to merge.'
        - or:
          - and:
            - must_include:
                regex: '^release notes: yes'
                message: 'Please add the label (release notes: yes)'
            - must_include:
                regex: '^lang\/'
                message: 'Please add a language label (lang/...)'
          - must_include:
              regex: '^release notes: no'
              message: 'Please add the label (release notes: no)'