mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-22 17:53:04 -07:00
fix(bot): ensure branch names always start with 'bot/' prefix
This commit is contained in:
@@ -321,8 +321,8 @@ jobs:
|
||||
fi
|
||||
|
||||
if [[ ! "$BRANCH_NAME" =~ ^bot/ ]]; then
|
||||
echo "Error: Branch name '$BRANCH_NAME' does not start with 'bot/'. Safety abort."
|
||||
exit 1
|
||||
echo "Warning: Branch name '$BRANCH_NAME' does not start with 'bot/'. Prepending 'bot/' for safety."
|
||||
BRANCH_NAME="bot/$BRANCH_NAME"
|
||||
fi
|
||||
|
||||
git checkout -B "$BRANCH_NAME"
|
||||
|
||||
Reference in New Issue
Block a user