Skip to content

Commit 74e06d5

Browse files
author
berfinyuksel
committed
Change branch verification to warning instead of error
Allows workflow to complete successfully even if branch hasn't been renamed yet. After manual rename, user can re-run the branch-automation job to apply version reference updates.
1 parent d6aec1b commit 74e06d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/create-release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,10 +966,11 @@ jobs:
966966
-H "Authorization: Bearer ${RELEASE_TOKEN}")
967967
968968
if [[ "${VERIFY_BRANCH}" -ne 200 ]]; then
969-
echo "❌ Branch '${TO}' not found. Please complete the manual rename first." >> "$GITHUB_STEP_SUMMARY"
969+
echo "⚠️ Branch '${TO}' not found yet. Skipping version reference updates." >> "$GITHUB_STEP_SUMMARY"
970+
echo "After manually renaming '${FROM}' → '${TO}', re-run the branch-automation job to apply updates." >> "$GITHUB_STEP_SUMMARY"
970971
cd /
971972
rm -rf "${WORK_DIR}"
972-
exit 1
973+
exit 0
973974
fi
974975
975976
# Create PR branch

0 commit comments

Comments
 (0)