-
Notifications
You must be signed in to change notification settings - Fork 2
/
.mergify.yml
42 lines (40 loc) · 1.22 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
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
queue_rules:
- name: default
update_method: merge
conditions:
- "#approved-reviews-by>=1"
- -label~=(do-not-merge)
- status-success=build
- status-success=package-js
- status-success=package-python
- status-success=package-dotnet
pull_request_rules:
- name: Automatically approve dependency upgrade PRs if they pass build
actions:
review:
type: APPROVE
message: Automatically approved dependency upgrade PR
conditions:
- label=auto-approve
- label=deps-upgrade
- -label~=(do-not-merge)
- status-success=build
- author=github-actions[bot]
- 'title="chore(deps): upgrade dependencies"'
- name: Automatic merge on approval and successful build
actions:
delete_head_branch: {}
queue:
method: squash
name: default
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body }}
conditions:
- "#approved-reviews-by>=1"
- -label~=(do-not-merge)
- status-success=build
- status-success=package-js
- status-success=package-python
- status-success=package-dotnet