We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4472004 commit 6fb1c2aCopy full SHA for 6fb1c2a
.github/workflows/rebuild.yml
@@ -55,8 +55,12 @@ jobs:
55
git fetch origin "$BASE_BRANCH"
56
57
# Allow merge conflicts in `lib`, since rebuilding should resolve them.
58
- git merge "origin/$BASE_BRANCH" || echo "Merge conflicts detected, continuing."
59
- MERGE_RESULT=$?
+ if git merge "origin/$BASE_BRANCH"; then
+ MERGE_RESULT=0
60
+ else
61
+ MERGE_RESULT=$?
62
+ echo "Merge conflicts detected, continuing."
63
+ fi
64
65
if [ "$MERGE_RESULT" -ne 0 ]; then
66
echo "merge-in-progress=true" >> $GITHUB_OUTPUT
0 commit comments