Skip to content

Commit 7f1ed4f

Browse files
authored
Remove -b flag when checking out master
1 parent 6da6876 commit 7f1ed4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/automation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- if: ${{ env.DEFAULT_BRANCH == 'main' && env.HAS_MASTER_BRANCH == 'true' }}
5959
name: Update master branch from main
6060
run: |
61-
git checkout -b master
61+
git checkout master
6262
git reset --hard origin/main
6363
git push origin master
6464
- if: ${{ env.DEFAULT_BRANCH == 'master'}}

0 commit comments

Comments
 (0)