Ankush Menat | 4159361 | 2021-10-04 18:02:37 +0530 | [diff] [blame] | 1 | pull_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 |
| 10 | - or: |
| 11 | - base=version-13 |
| 12 | - base=version-12 |
| 13 | actions: |
| 14 | close: |
| 15 | comment: |
| 16 | message: | |
Ankush Menat | 1f9ce92 | 2022-02-21 14:29:54 +0530 | [diff] [blame] | 17 | @{{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 Menat | 4159361 | 2021-10-04 18:02:37 +0530 | [diff] [blame] | 18 | https://github.com/frappe/erpnext/wiki/Pull-Request-Checklist#which-branch |
| 19 | |
Ankush Menat | 1f9ce92 | 2022-02-21 14:29:54 +0530 | [diff] [blame] | 20 | - name: backport to develop |
| 21 | conditions: |
| 22 | - label="backport develop" |
| 23 | actions: |
| 24 | backport: |
| 25 | branches: |
| 26 | - develop |
| 27 | assignees: |
| 28 | - "{{ author }}" |
| 29 | |
| 30 | - name: backport to version-14-hotfix |
| 31 | conditions: |
| 32 | - label="backport version-14-hotfix" |
| 33 | actions: |
| 34 | backport: |
| 35 | branches: |
| 36 | - version-14-hotfix |
| 37 | assignees: |
| 38 | - "{{ author }}" |
| 39 | |
| 40 | - name: backport to version-14-pre-release |
| 41 | conditions: |
| 42 | - label="backport version-14-pre-release" |
| 43 | actions: |
| 44 | backport: |
| 45 | branches: |
| 46 | - version-14-pre-release |
| 47 | assignees: |
| 48 | - "{{ author }}" |
| 49 | |
Ankush Menat | 4159361 | 2021-10-04 18:02:37 +0530 | [diff] [blame] | 50 | - name: backport to version-13-hotfix |
| 51 | conditions: |
| 52 | - label="backport version-13-hotfix" |
| 53 | actions: |
| 54 | backport: |
| 55 | branches: |
| 56 | - version-13-hotfix |
| 57 | assignees: |
| 58 | - "{{ author }}" |
| 59 | |
| 60 | - name: backport to version-13-pre-release |
| 61 | conditions: |
| 62 | - label="backport version-13-pre-release" |
| 63 | actions: |
| 64 | backport: |
| 65 | branches: |
| 66 | - version-13-pre-release |
| 67 | assignees: |
| 68 | - "{{ author }}" |
| 69 | |
| 70 | - name: backport to version-12-hotfix |
| 71 | conditions: |
| 72 | - label="backport version-12-hotfix" |
| 73 | actions: |
| 74 | backport: |
| 75 | branches: |
| 76 | - version-12-hotfix |
| 77 | assignees: |
| 78 | - "{{ author }}" |
| 79 | |
| 80 | - name: backport to version-12-pre-release |
| 81 | conditions: |
| 82 | - label="backport version-12-pre-release" |
| 83 | actions: |
| 84 | backport: |
| 85 | branches: |
| 86 | - version-12-pre-release |
| 87 | assignees: |
Ankush Menat | 1f9ce92 | 2022-02-21 14:29:54 +0530 | [diff] [blame] | 88 | - "{{ author }}" |