fix(ci): checkout PR policy from github.workflow_sha#891
Conversation
Use the workflow revision for pull_request_target policy checkout so reruns stay deterministic without pinning stale pull_request.base.sha trees that can miss scripts/pr-policy.mjs on older PRs. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Warning Review limit reached
Next review available in: 38 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
…flow-sha-9b6d Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Capture the reviewed screenshot-queue outcomes, supersessions, and hosted/local checks used for the safe merge pass. Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Summary
github.workflow_sha(the trusted workflow revision for the run).github.base_reftips and stalepull_request.base.shatrees that can missscripts/pr-policy.mjson older PRs.base.sha).Verification
npm run check:pr-policy(self-test including workflow ref assertions)npm run verify:cheapdeferred; this change is CI workflow + self-test only and Static PR checks cover the cheap gate on this PR.Risk and rollout
pull_request_targetruns.github.base_ref.