chore: add exceptions for release PRs

This commit is contained in:
Ankush Menat 2022-05-17 12:16:03 +05:30
parent fcfb5ca901
commit 8eaa87b2a2

View file

@ -6,6 +6,7 @@ pull_request_rules:
- author!=surajshetty3416 - author!=surajshetty3416
- author!=gavindsouza - author!=gavindsouza
- author!=deepeshgarg007 - author!=deepeshgarg007
- author!=ankush
- or: - or:
- base=version-13 - base=version-13
- base=version-12 - base=version-12
@ -13,7 +14,7 @@ pull_request_rules:
close: close:
comment: comment:
message: | 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. @{{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 https://github.com/frappe/erpnext/wiki/Pull-Request-Checklist#which-branch
- name: Automatic merge on CI success and review - name: Automatic merge on CI success and review
@ -53,7 +54,7 @@ pull_request_rules:
{{ title }} (#{{ number }}) {{ title }} (#{{ number }})
{{ body }} {{ body }}
- name: backport to develop - name: backport to develop
conditions: conditions:
- label="backport develop" - label="backport develop"
@ -92,4 +93,4 @@ pull_request_rules:
branches: branches:
- version-12-hotfix - version-12-hotfix
assignees: assignees:
- "{{ author }}" - "{{ author }}"