You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(ci): CC review - fix /bot-review checkout on fork PRs (cube-js#11192)
The review workflow resolved the PR's head branch name and checked it out
from the base repo — for fork PRs that branch only exists in the fork, so
checkout failed (run 28585715254). GitHub mirrors every PR head into the
base repo as refs/pull/<N>/head, readable with the workflow token, so
check out that ref instead; it works uniformly for fork and same-repo PRs.
Only the PR number is needed now, so the resolve step (and its
`gh pr view` round-trip) is replaced by a job-level PR_NUMBER coalesce.
Checkout also sets persist-credentials: false since the checked-out tree
is now fork-controlled.
0 commit comments