Skip to content

Commit ef37ca1

Browse files
fix: update-workflow-release-main
1 parent 05521ad commit ef37ca1

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/prepare-release-pr.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,15 @@ jobs:
2020
ref: master
2121
fetch-depth: 0
2222

23-
- name: Raise PR from master to main
23+
- name: Create and push release-main
24+
run: |
25+
git checkout -b release-main
26+
git push -f origin release-main
27+
28+
- name: Raise PR from release-main to main
2429
uses: peter-evans/create-pull-request@v7
2530
with:
2631
base: main
27-
title: "Release PR: master -> main"
28-
body: "This PR merges the changes from the master branch to main branch"
32+
title: "Release PR: release-main -> main"
33+
body: "This PR merges release-main into main"
2934
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)