chore: updated release process with main-hotfix
This commit is contained in:
@@ -3,6 +3,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- develop
|
||||||
|
- main-hotfix
|
||||||
pull_request: {}
|
pull_request: {}
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
|
|||||||
@@ -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,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
|
||||||
|
|||||||
@@ -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 }}"
|
||||||
Reference in New Issue
Block a user