-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.mergify.yml
47 lines (43 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
43
44
45
46
47
pull_request_rules:
- name: Approve and merge non-major version dependabot upgrades
conditions:
- author~=^dependabot\[bot\]$
- check-success~=tests
- -dependabot-update-type = version-update:semver-major
actions:
review:
type: APPROVE
merge:
method: squash
- name: Approve and merge Snyk.io upgrades
conditions:
- author=isomeradmin
- check-success~=tests
- title~=^\[Snyk\]
- base = main
actions:
review:
type: APPROVE
merge:
method: squash
- name: Ping Isomer members for stale open PRs (>1 month since last activity)
conditions:
- updated-at<30 days ago
- -closed
actions:
request_reviews:
teams:
- "@opengovsg/isomer-engineers"
comment:
message: This pull request has been stale for more than 30 days! Could someone please take a look at it @opengovsg/isomer-engineers
- name: Automatically delete branches after they have been merged
conditions:
- merged
actions:
delete_head_branch:
- name: Automatically mark a PR as draft if [WIP] is in the title
conditions:
- title~=(?i)\[wip\]
actions:
edit:
draft: True