fix(bot): explicitly target branch in 'gh pr edit' to ensure labeling

This commit is contained in:
Christian Gunderman
2026-05-14 11:11:44 -07:00
parent 746be830fe
commit 48e6cc179e
+1 -1
View File
@@ -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