Skip to content

Commit

Permalink
ci: seutp v15 config
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Oct 19, 2023
1 parent d09618b commit 40cdde8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 42 deletions.
1 change: 1 addition & 0 deletions .github/workflows/patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ jobs:
}
update_to_version 14
update_to_version 15
echo "Updating to latest version"
git -C "apps/frappe" checkout -q -f "${GITHUB_BASE_REF:-${GITHUB_REF##*/}}"
Expand Down
46 changes: 4 additions & 42 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,14 @@ pull_request_rules:
- base=version-12
- base=version-14
- base=version-15
- base=version-16
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: Auto-close PRs on pre-release branch
conditions:
- base=version-13-pre-release
actions:
close:
comment:
message: |
@{{author}}, pre-release branch is not maintained anymore. Releases are directly done by merging hotfix branch to stable branches.
- name: backport to develop
conditions:
- label="backport develop"
Expand All @@ -54,13 +45,13 @@ pull_request_rules:
assignees:
- "{{ author }}"

- name: backport to version-14-pre-release
- name: backport to version-15-hotfix
conditions:
- label="backport version-14-pre-release"
- label="backport version-15-hotfix"
actions:
backport:
branches:
- version-14-pre-release
- version-15-hotfix
assignees:
- "{{ author }}"

Expand All @@ -74,35 +65,6 @@ pull_request_rules:
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 }}"

- name: Automatic merge on CI success and review
conditions:
Expand Down

0 comments on commit 40cdde8

Please sign in to comment.