Skip to content

Commit ab03594

Browse files
authored
fix(stage-build): abort main merge on conflict (#12206)
1 parent 08313d5 commit ab03594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/stage-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
git checkout main
104104
git status
105105
git checkout -
106-
git merge main --no-edit
106+
git merge main --no-edit || git merge --abort
107107
108108
- uses: actions/checkout@v4
109109
if: ${{ ! vars.SKIP_BUILD || ! vars.SKIP_FUNCTION }}

0 commit comments

Comments
 (0)