chore: updated release process with main-hotfix

This commit is contained in:
Jannat Patel
2026-02-16 18:33:45 +05:30
parent 7e683f8b44
commit 73b20653f0
4 changed files with 38 additions and 3 deletions
+2
View File
@@ -3,6 +3,8 @@ on:
push: push:
branches: branches:
- main - main
- develop
- main-hotfix
pull_request: {} pull_request: {}
jobs: jobs:
tests: tests:
+2 -2
View File
@@ -18,9 +18,9 @@ jobs:
owner: frappe owner: frappe
repo: lms repo: lms
title: |- title: |-
"chore: merge 'develop' into 'main'" "chore: merge 'main-hotfix' into 'main'"
body: "Automated weekly release" body: "Automated weekly release"
base: main base: main
head: develop head: main-hotfix
env: env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
+4 -1
View File
@@ -4,7 +4,10 @@ on:
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
push: push:
branches: [ main ] branches:
- main
- develop
- main-hotfix
permissions: permissions:
# Do not change this as GITHUB_TOKEN is being used by roulette # Do not change this as GITHUB_TOKEN is being used by roulette
+30
View File
@@ -0,0 +1,30 @@
pull_request_rules:
- name: backport to develop
conditions:
- label="backport develop"
actions:
backport:
branches:
- develop
assignees:
- "{{ author }}"
- name: backport to main-hotfix
conditions:
- label="backport main-hotfix"
actions:
backport:
branches:
- main-hotfix
assignees:
- "{{ author }}"
- name: backport to main
conditions:
- label="backport main"
actions:
backport:
branches:
- main
assignees:
- "{{ author }}"