mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-29 05:02:35 -07:00
fix(bot): explicitly target branch in 'gh pr edit' to ensure labeling
This commit is contained in:
@@ -361,7 +361,7 @@ jobs:
|
||||
if [ -s "${{ runner.temp }}/brain-data/pr-labels.txt" ]; then
|
||||
while IFS= read -r label; do
|
||||
if [ -n "$label" ]; then
|
||||
gh pr edit --add-label "$label" || true
|
||||
gh pr edit "$BRANCH_NAME" --add-label "$label" || true
|
||||
fi
|
||||
done < "${{ runner.temp }}/brain-data/pr-labels.txt"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user