You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.5 KiB
58 lines
1.5 KiB
3 years ago
|
pull_request_rules:
|
||
|
- name: Auto-close PRs on stable branch
|
||
|
conditions:
|
||
|
- and:
|
||
|
- and:
|
||
|
- author!=surajshetty3416
|
||
|
- author!=gavindsouza
|
||
|
- author!=rohitwaghchaure
|
||
|
- author!=nabinhait
|
||
|
- or:
|
||
|
- base=version-13
|
||
|
- base=version-12
|
||
|
actions:
|
||
|
close:
|
||
|
comment:
|
||
|
message: |
|
||
|
@{{author}}, thanks for the contribution, but we do not accept pull requests on a stable branch. Please raise PR on an appropriate hotfix branch.
|
||
|
https://github.com/frappe/erpnext/wiki/Pull-Request-Checklist#which-branch
|
||
|
|
||
|
- 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:
|
||
|
- "{{ author }}"
|