summaryrefslogtreecommitdiffstats
path: root/.mergify.yml
blob: e7c5b35543480cc573966140a2ec5f2f61e83112 (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
# SPDX-FileCopyrightText: 2013 The glucometerutils Authors
#
# SPDX-License-Identifier: MIT

pull_request_rules:
  - name: Automatic merge on approval
    conditions:
      - "#approved-reviews-by>=1"
      - "status-success=pytest (ubuntu-latest, 3.7)"
      - "status-success=pytest (ubuntu-latest, 3.8)"
      - "status-success=pytest (ubuntu-latest, 3.9)"
      - "status-success=pre-commit"
    actions:
      merge:
        method: rebase
  - name: Automatic merge from Flameeyes
    conditions:
      - "author=Flameeyes"
      - "status-success=pytest (ubuntu-latest, 3.7)"
      - "status-success=pytest (ubuntu-latest, 3.8)"
      - "status-success=pytest (ubuntu-latest, 3.9)"
      - "status-success=pre-commit"
    actions:
      merge:
        method: rebase