-
Notifications
You must be signed in to change notification settings - Fork 353
Expand file tree
/
Copy path.mergify.yml
More file actions
43 lines (43 loc) · 1.02 KB
/
.mergify.yml
File metadata and controls
43 lines (43 loc) · 1.02 KB
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
pull_request_rules:
- name: hotfix to master
conditions:
- label="hotfix"
actions:
backport:
branches:
- master
assignees:
- "{{ author }}"
- name: Auto-close PRs on stable branch
conditions:
- and:
- and:
- author!=frappe-pr-bot
- author!=mergify[bot]
- author!=github-actions
- or:
- base=master
actions:
comment:
message: >
@{{author}}, thanks for the contribution, but we do not accept pull
requests on a master. Please close this PR and raise PR on an develop
branch.
- name: backport to develop
conditions:
- label="backport-develop"
actions:
backport:
branches:
- develop
assignees:
- "{{ author }}"
- name: backport to master
conditions:
- label="backport-master"
actions:
backport:
branches:
- master
assignees:
- "{{ author }}"