summaryrefslogtreecommitdiffstats
path: root/.mergify.yml
blob: 119e5d730dbb5b29ae118fa474269c779326b739 (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
# SPDX-FileCopyrightText: 2013 The freestyle-hid Authors
#
# SPDX-License-Identifier: 0BSD

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