Skip to content

Commit 64c88d3

Browse files
EtiennePerotgvisor-bot
authored andcommitted
PGO: Change pgo/ branch naming scheme to match test/ naming scheme.
Branch protection rule is updated to allow gvisor-bot to write to `pgo/*`. Also automatically start with `ready to pull` label to make PR import easier. PiperOrigin-RevId: 772199727
1 parent 9473f2d commit 64c88d3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.buildkite/scripts/pgo/commit-update.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if [[ "$(git status --porcelain | wc -l)" == 0 ]]; then
2222
fi
2323

2424
today="$(date +"%Y-%m-%d")"
25-
pgo_branch_name="pgo-update-${today}"
25+
pgo_branch_name="pgo/update-${today}"
2626
git stash
2727
git pull --rebase=true https://github.com/google/gvisor master
2828
git checkout -b "$pgo_branch_name"
@@ -40,5 +40,6 @@ git push --set-upstream https://github.com/google/gvisor.git "$pgo_branch_name"
4040
gh pr create \
4141
--title="Update runsc profiles for PGO (profile-guided optimizations), $today." \
4242
--body='This PR updates the runsc profiles for PGO (profile-guided optimizations).' \
43-
--label=pgo-update --base=master
43+
--label=pgo-update --label='ready to pull' \
44+
--base=master
4445
echo 'PGO profile update PR created.' >&2

0 commit comments

Comments
 (0)