aboutsummaryrefslogtreecommitdiff
path: root/.github/mergify.yml
blob: de362dd2a36aef215b20a8e8c091b306d76dfe73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
pull_request_rules:
  # rebase+merge strategy
  - actions:
      queue:
        name: default
        # Merge into master with a merge commit
        method: merge
        # Update the pr branch with rebase, so the history is clean
        update_method: rebase
    name: Put pull requests in the rebase+merge queue
    conditions:
      - label=merge me
      - '#approved-reviews-by>=1'
  # merge+squash strategy
  - actions:
      queue:
        name: default
        method: squash
        # both update methods get absorbed by the squash, so we use the most
        # reliable
        update_method: merge
    name: Put pull requests in the squash+merge queue
    conditions:
      - label=squash+merge me
      - '#approved-reviews-by>=1'

queue_rules:
  - name: default
    conditions: []