-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy path.mergify.yml
50 lines (47 loc) · 1.25 KB
/
.mergify.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
queue_rules:
- name: default
conditions:
- or:
- and:
- -files~=\.hs$
- -files~=\.sw$
- -files~=\.cabal$
- -files=stack.yaml
- -files~=cabal.project.*
- -files~=^[^/]*\.yaml$
- -files~=^data/.*\.yaml$
- and:
- check-success=Haskell-CI - Linux - ghc-9.2.4
- check-success=Haskell-CI - Linux - ghc-9.0.2
- check-success=Haskell-CI - Linux - ghc-8.10.7
pull_request_rules:
- actions:
queue:
name: default
method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
name: Automatically merge pull requests
conditions:
- or:
- and:
- -files~=\.hs$
- -files~=\.sw$
- -files~=\.cabal$
- -files=stack.yaml
- -files~=cabal.project.*
- -files~=^[^/]*\.yaml$
- -files~=^data/.*\.yaml$
- and:
- check-success=Haskell-CI - Linux - ghc-9.2.4
- check-success=Haskell-CI - Linux - ghc-9.0.2
- check-success=Haskell-CI - Linux - ghc-8.10.7
- label=merge me
- ! '#approved-reviews-by>=1'
- ! '#changes-requested-reviews-by=0'
- actions:
delete_head_branch: {}
name: Delete head branch after merge
conditions:
- merged