2021-10-04 12:32:37 +00:00
|
|
|
pull_request_rules:
|
|
|
|
- name: Auto-close PRs on stable branch
|
|
|
|
conditions:
|
|
|
|
- and:
|
|
|
|
- and:
|
|
|
|
- author!=surajshetty3416
|
|
|
|
- author!=gavindsouza
|
|
|
|
- author!=rohitwaghchaure
|
|
|
|
- author!=nabinhait
|
2022-03-14 12:54:18 +00:00
|
|
|
- author!=ankush
|
|
|
|
- author!=deepeshgarg007
|
2021-10-04 12:32:37 +00:00
|
|
|
- or:
|
|
|
|
- base=version-13
|
|
|
|
- base=version-12
|
|
|
|
actions:
|
|
|
|
close:
|
|
|
|
comment:
|
|
|
|
message: |
|
2022-02-21 08:59:54 +00:00
|
|
|
@{{author}}, thanks for the contribution, but we do not accept pull requests on a stable branch. Please raise PR on an appropriate hotfix branch.
|
2021-10-04 12:32:37 +00:00
|
|
|
https://github.com/frappe/erpnext/wiki/Pull-Request-Checklist#which-branch
|
|
|
|
|
2022-02-21 08:59:54 +00:00
|
|
|
- name: backport to develop
|
|
|
|
conditions:
|
|
|
|
- label="backport develop"
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- develop
|
|
|
|
assignees:
|
|
|
|
- "{{ author }}"
|
|
|
|
|
|
|
|
- name: backport to version-14-hotfix
|
|
|
|
conditions:
|
|
|
|
- label="backport version-14-hotfix"
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- version-14-hotfix
|
|
|
|
assignees:
|
|
|
|
- "{{ author }}"
|
|
|
|
|
|
|
|
- name: backport to version-14-pre-release
|
|
|
|
conditions:
|
|
|
|
- label="backport version-14-pre-release"
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- version-14-pre-release
|
|
|
|
assignees:
|
|
|
|
- "{{ author }}"
|
|
|
|
|
2021-10-04 12:32:37 +00:00
|
|
|
- name: backport to version-13-hotfix
|
|
|
|
conditions:
|
|
|
|
- label="backport version-13-hotfix"
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- version-13-hotfix
|
|
|
|
assignees:
|
|
|
|
- "{{ author }}"
|
|
|
|
|
|
|
|
- name: backport to version-13-pre-release
|
|
|
|
conditions:
|
|
|
|
- label="backport version-13-pre-release"
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- version-13-pre-release
|
|
|
|
assignees:
|
|
|
|
- "{{ author }}"
|
|
|
|
|
|
|
|
- name: backport to version-12-hotfix
|
|
|
|
conditions:
|
|
|
|
- label="backport version-12-hotfix"
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- version-12-hotfix
|
|
|
|
assignees:
|
|
|
|
- "{{ author }}"
|
|
|
|
|
|
|
|
- name: backport to version-12-pre-release
|
|
|
|
conditions:
|
|
|
|
- label="backport version-12-pre-release"
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- version-12-pre-release
|
|
|
|
assignees:
|
2022-02-21 08:59:54 +00:00
|
|
|
- "{{ author }}"
|