We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce00f57 + d7a7798 commit 9503239Copy full SHA for 9503239
1 file changed
.github/workflows/sync-from-public.yml
@@ -37,8 +37,7 @@ jobs:
37
38
- name: Sync main with public/main
39
run: |
40
- git checkout main
41
- git reset --hard origin/main
+ git checkout -B main origin/main
42
43
# Check if public/main is already merged
44
if git merge-base --is-ancestor public/main HEAD; then
@@ -137,8 +136,7 @@ jobs:
137
136
138
- name: Sync preview with public/preview
139
140
- git checkout preview
141
- git reset --hard origin/preview
+ git checkout -B preview origin/preview
142
143
# Check if public/preview is already merged
144
if git merge-base --is-ancestor public/preview HEAD; then
0 commit comments