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

Commit da776ab

Browse files
committed
Update GitHub Actions workflow to use 'git branch -M' for renaming main branch
1 parent 1ce2f12 commit da776ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
6464
- name: Push changes to main
6565
run: |
66-
git checkout main
66+
git branch -M main
6767
git merge dev
6868
git push origin main
6969
env:

0 commit comments

Comments
 (0)