Merge pull request #46169 from frappe/mergify/ruthra-kumar/config-update

ci(Mergify): configuration update
This commit is contained in:
ruthra kumar
2025-02-28 13:34:29 +05:30
committed by GitHub

View File

@@ -2,29 +2,27 @@ pull_request_rules:
- name: Auto-close PRs on stable branch - name: Auto-close PRs on stable branch
conditions: conditions:
- and: - and:
- and: - and:
- author!=surajshetty3416 - author!=surajshetty3416
- author!=gavindsouza - author!=gavindsouza
- author!=rohitwaghchaure - author!=rohitwaghchaure
- author!=nabinhait - author!=nabinhait
- author!=ankush - author!=ankush
- author!=deepeshgarg007 - author!=deepeshgarg007
- author!=frappe-pr-bot - author!=frappe-pr-bot
- author!=mergify[bot] - author!=mergify[bot]
- or:
- or: - base=version-13
- base=version-13 - base=version-12
- base=version-12 - base=version-14
- base=version-14 - base=version-15
- base=version-15 - base=version-16
- base=version-16
actions: actions:
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: backport to develop - name: backport to develop
conditions: conditions:
- label="backport develop" - label="backport develop"
@@ -34,7 +32,6 @@ pull_request_rules:
- develop - develop
assignees: assignees:
- "{{ author }}" - "{{ author }}"
- name: backport to version-14-hotfix - name: backport to version-14-hotfix
conditions: conditions:
- label="backport version-14-hotfix" - label="backport version-14-hotfix"
@@ -44,7 +41,6 @@ pull_request_rules:
- version-14-hotfix - version-14-hotfix
assignees: assignees:
- "{{ author }}" - "{{ author }}"
- name: backport to version-15-hotfix - name: backport to version-15-hotfix
conditions: conditions:
- label="backport version-15-hotfix" - label="backport version-15-hotfix"
@@ -54,18 +50,6 @@ pull_request_rules:
- version-15-hotfix - version-15-hotfix
assignees: assignees:
- "{{ author }}" - "{{ author }}"
- name: backport to version-13-hotfix
conditions:
- label="backport version-13-hotfix"
actions:
backport:
branches:
- version-13-hotfix
assignees:
- "{{ author }}"
- name: Automatic merge on CI success and review - name: Automatic merge on CI success and review
conditions: conditions:
- status-success=linters - status-success=linters
@@ -96,6 +80,6 @@ pull_request_rules:
merge: merge:
method: squash method: squash
commit_message_template: | commit_message_template: |
{{ title }} (#{{ number }}) {{ title }} (#{{ number }})
{{ body }} {{ body }}