Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Commit 1ce2f12

Browse files
committed
Update GitHub Actions workflow to merge 'dev' into 'main' instead of resetting
1 parent 4fcf412 commit 1ce2f12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ jobs:
6363
6464
- name: Push changes to main
6565
run: |
66-
git checkout -b main
67-
git reset --hard dev
68-
git push -u -f origin main
66+
git checkout main
67+
git merge dev
68+
git push origin main
6969
env:
7070
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)