blob: 315d90febc62e1675fcd808a98b61dda214b7f1a [file] [log] [blame]
Ankush Menat41593612021-10-04 18:02:37 +05301pull_request_rules:
2 - name: Auto-close PRs on stable branch
3 conditions:
4 - and:
5 - and:
6 - author!=surajshetty3416
7 - author!=gavindsouza
8 - author!=rohitwaghchaure
9 - author!=nabinhait
Ankush Menatdc257662022-03-14 18:24:18 +053010 - author!=ankush
11 - author!=deepeshgarg007
Ankush Menat41593612021-10-04 18:02:37 +053012 - or:
13 - base=version-13
14 - base=version-12
15 actions:
16 close:
17 comment:
18 message: |
Ankush Menat1f9ce922022-02-21 14:29:54 +053019 @{{author}}, thanks for the contribution, but we do not accept pull requests on a stable branch. Please raise PR on an appropriate hotfix branch.
Ankush Menat41593612021-10-04 18:02:37 +053020 https://github.com/frappe/erpnext/wiki/Pull-Request-Checklist#which-branch
21
Ankush Menat1f9ce922022-02-21 14:29:54 +053022 - name: backport to develop
23 conditions:
24 - label="backport develop"
25 actions:
26 backport:
27 branches:
28 - develop
29 assignees:
30 - "{{ author }}"
31
32 - name: backport to version-14-hotfix
33 conditions:
34 - label="backport version-14-hotfix"
35 actions:
36 backport:
37 branches:
38 - version-14-hotfix
39 assignees:
40 - "{{ author }}"
41
42 - name: backport to version-14-pre-release
43 conditions:
44 - label="backport version-14-pre-release"
45 actions:
46 backport:
47 branches:
48 - version-14-pre-release
49 assignees:
50 - "{{ author }}"
51
Ankush Menat41593612021-10-04 18:02:37 +053052 - name: backport to version-13-hotfix
53 conditions:
54 - label="backport version-13-hotfix"
55 actions:
56 backport:
57 branches:
58 - version-13-hotfix
59 assignees:
60 - "{{ author }}"
61
62 - name: backport to version-13-pre-release
63 conditions:
64 - label="backport version-13-pre-release"
65 actions:
66 backport:
67 branches:
68 - version-13-pre-release
69 assignees:
70 - "{{ author }}"
71
72 - name: backport to version-12-hotfix
73 conditions:
74 - label="backport version-12-hotfix"
75 actions:
76 backport:
77 branches:
78 - version-12-hotfix
79 assignees:
80 - "{{ author }}"
81
82 - name: backport to version-12-pre-release
83 conditions:
84 - label="backport version-12-pre-release"
85 actions:
86 backport:
87 branches:
88 - version-12-pre-release
89 assignees:
Ankush Menat1f9ce922022-02-21 14:29:54 +053090 - "{{ author }}"