Skip to content

Commit

Permalink
ci: update ci config to consider v15
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchamahabal committed Oct 25, 2023
1 parent 1607f9a commit c5a286b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/initiate_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["14"]
version: ["14", "15"]

steps:
- uses: octokit/[email protected]
Expand All @@ -30,23 +30,3 @@ jobs:
head: version-${{ matrix.version }}-hotfix
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}

beta-release:
name: Release
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- uses: octokit/[email protected]
with:
route: POST /repos/{owner}/{repo}/pulls
owner: frappe
repo: hrms
title: |-
"chore: release v15 beta"
body: "Automated beta release."
base: version-15-beta
head: develop
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
14 changes: 14 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ pull_request_rules:
- name: Auto-close PRs on stable branch
conditions:
- and:
- and:
- author!=ruchamahabal
- author!=saurabh6790
- author!=frappe-pr-bot
- author!=mergify[bot]
- or:
- base=version-16
- base=version-15
- base=version-14
actions:
close:
Expand Down Expand Up @@ -54,3 +58,13 @@ pull_request_rules:
- version-14-hotfix
assignees:
- "{{ author }}"

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

0 comments on commit c5a286b

Please sign in to comment.