-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.mergify.yml
30 lines (30 loc) · 1.02 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
# We have authorized the GitHub application mergify. Read more about it at https://docs.mergify.com/examples/#dependabot.
pull_request_rules:
- name: Auto-approve dependency upgrades
conditions:
- or:
- and:
- author=renovate[bot]
- -label=major-upgrade
- and:
- author=dependabot[bot]
# This regex allows patch and minor version upgrades, but not major upgrades
- title~=bump [^\s]+ from ([\d]+)\..+ to \1\.
actions:
review:
type: APPROVE
message: Automatically approving dependabot
- name: Auto-merge dependency upgrades
conditions:
- or:
- and:
- author=dependabot[bot]
# This regex allows patch and minor version upgrades, but not major upgrades
- title~=bump [^\s]+ from ([\d]+)\..+ to \1\.
- and:
- author=renovate[bot]
- -label=major-upgrade
# Branch protection rules still apply as configured in GitHub
actions:
merge:
method: squash