chore: setup release CI and mergify for version-16 (#35859)

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
Akhil Narang 2026-01-12 16:29:19 +05:30 committed by GitHub
parent 1bf4938489
commit fcbe4d62d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 25 additions and 26 deletions

View file

@ -15,7 +15,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
version: ["14", "15"] version: ["14", "15", "16"]
steps: steps:
- uses: octokit/request-action@v2.x - uses: octokit/request-action@v2.x

View file

@ -2,24 +2,24 @@ 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!=deepeshgarg007 - author!=deepeshgarg007
- author!=ankush - author!=ankush
- author!=frappe-pr-bot - author!=frappe-pr-bot
- author!=mergify[bot] - author!=mergify[bot]
- or: - or:
- base=version-16 - base=version-16
- base=version-15 - base=version-15
- base=version-14 - base=version-14
- base=version-13 - base=version-13
- base=version-12 - base=version-12
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:
@ -31,16 +31,6 @@ pull_request_rules:
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: backport to version-14-hotfix - name: backport to version-14-hotfix
conditions: conditions:
- label="backport version-14-hotfix" - label="backport version-14-hotfix"
@ -61,3 +51,12 @@ pull_request_rules:
assignees: assignees:
- "{{ author }}" - "{{ author }}"
- name: backport to version-16-hotfix
conditions:
- label="backport version-16-hotfix"
actions:
backport:
branches:
- version-16-hotfix
assignees:
- "{{ author }}"