Skip to content

Commit 1b8f9f2

Browse files
authored
chore: refactor sync release action
1 parent 04b1a68 commit 1b8f9f2

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/merge-release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ jobs:
1111
run: |
1212
git config user.name "GitHub Actions Bot"
1313
git config user.email "<>"
14-
- name: Rebase release on master
14+
- name: Push master to release branch
1515
run: |
16-
git checkout master
17-
git pull
18-
git checkout release
19-
git pull
20-
git rebase master
21-
git push origin release
16+
git push origin master:release

0 commit comments

Comments
 (0)