Repository navigation
ci: let PR Hygiene post its verdicts to the dashboard - #1064
Conversation
The shared PR Hygiene workflow now posts each run's verdicts to the dashboard service at pr-hygiene.services.dash.org, signed with the job's GitHub OIDC token. A job can mint that token only when its caller grants id-token: write. Nothing else changes: the review gate runs as before, and without the token the post only warns. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Waiting for bot review — coderabbitai ✓ · thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
|
🕓 Review not started yet because the new head is waiting for the 30-minute push debounce.
Commit 8d6ef7f. Normal review starts when eligible; priority review starts as soon as a slot is available. |
Brings develop up to bf5297f: #1064, one permission line of the PR review policy workflow. No source file changes, so the golden corpus and its pin stay as they are. Part of #1052. Lignin-Tasks: SYNC Co-Authored-By: Claude Fable 5.2 <[email protected]>
Grants
id-token: writeto the PR Hygiene caller workflow. That's the only change.Why: the shared workflow (
dashpay/stale_prs_are_bad'spr-review-reusable.yml@master) now posts each run's verdicts to the dashboard at https://pr-hygiene.services.dash.org. The dashboard then shows the new state within about a minute instead of after its next periodic refresh. The post is authenticated with the job's GitHub OIDC token, and a job can mint one only when its caller grantsid-token: write.Effect on the gate: none. The post runs after every status is written, never fails the job, and without this permission only logs a warning, which is what happens today. The token gives no access to GitHub. Note that
id-token: writelets any step of this job mint an OIDC token for any audience. The only code in the job is the shared PR Hygiene workflow fromdashpay/stale_prs_are_badmaster, a protected branch, and it asks only for the dashboard's audience. No pull request code runs in it. A cloud role that trusts this repository's OIDC subject with a wildcard would be reachable by that code, so such roles should pin the exact workflow or environment.The caller template in
pr_review/rollout.pyalready includes this line, so the generated caller and this file agree.🤖 Generated with Claude Code