Skip to content

Commit 9ddce26

Browse files
chore: try strategy of rebasing main
Signed-off-by: Joris Mancini <[email protected]>
1 parent 10f57d9 commit 9ddce26

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -85,17 +85,8 @@ jobs:
8585
skip_fetch: true
8686
skip_checkout: true
8787

88-
- name: Merge automatically into main branch
89-
uses: devmasx/[email protected]
90-
with:
91-
type: now
92-
from_branch: release-${{ github.ref_name }}
93-
target_branch: main
94-
message: Automatic merge after release ${{ github.ref_name }}
95-
github_token: ${{ secrets.REPO_ACCESS_TOKEN }}
96-
97-
- name: Delete merged branch
98-
uses: dawidd6/[email protected]
99-
with:
100-
github_token: ${{ secrets.GITHUB_TOKEN }}
101-
branches: release-${{ github.ref_name }}
88+
- name: Rebase main onto this branch
89+
run: |
90+
git checkout main
91+
git rebase release-${{ github.ref_name }}
92+
git branch -D release-${{ github.ref_name }}

0 commit comments

Comments
 (0)