mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-21 11:52:29 +00:00
fix(bot): ensure branch names always start with 'bot/' prefix
This commit is contained in:
4
.github/workflows/gemini-cli-bot-brain.yml
vendored
4
.github/workflows/gemini-cli-bot-brain.yml
vendored
@@ -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