Repository navigation
feat(pr-pipeline): accept a scheduled pr-unblock dispatcher run in check-trusted-trigger - #9129
Conversation
…eck-trusted-trigger A dispatcher run started by schedule now vouches for the pr-unblock run it dispatched, under the checks every dispatcher run already passes: the dispatcher workflow path, the default branch, a head that is an ancestor of the tip, and no tag named like the branch. As for push, the actor is not checked; a workflow_dispatch dispatcher still needs a listed human. Refs: #8447 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
PR body contract — issue linkage This PR body does not yet satisfy the issue-linkage contract:
Edit the body and this comment updates itself on the next run. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security findings. The PR adds
Manifest items: none, since the diff touches no plugin manifest. The instruction-exception register was not needed because the diff removes no standing instruction. |
|
claude-review reviewed Code review: no findingsI read the whole diff (3 files), the PR context and the surrounding code in The change is correct.
Closing issue. The PR uses Manifests and rules. The diff changes no plugin manifest, and no Note, not counted as a finding.
|
Refs: #8447 (the dispatcher schedule trigger and the stale-doc sweep follow after azure-iac#72 deploys)
Summary
check-trusted-triggernow trusts apr-unblockrun dispatched by apr-unblock-dispatch.ymlrun that aschedulestarted, as the owner decided on #8447 ("Decision recorded", 2026-10-22). This is the gate half; the broker half is melodic-software/azure-iac#72.Fix
check-trusted-trigger.mjs:DISPATCHER_EVENTSaddsschedule, and only aworkflow_dispatchdispatcher needs a listed human actor. A scheduled run's actor is whoever last edited the cron, so, as forpushand for the reconciler's scheduled runs, it is not checked. The other dispatcher checks are unchanged: thedispatcher-workflowpath, the default branch, a head that is an ancestor of the tip, no tag named like the branch, a listed human on any re-run attempt, the ten-minute window and the dispatched-runs record.check-trusted-trigger.test.mjs: a scheduled dispatcher run on the default branch proceeds (with an unlisted actor); a scheduled run on another branch, or from another workflow path, stops withuntrusted-actor. The old case refusing every scheduled dispatcher is replaced.pr-unblock-dispatch.ymlgains noscheduletrigger here: the dispatched lanes would get no broker token until melodic-software/azure-iac#72 is deployed. No file in the broker pin list changed, so no broker pin PR is needed.Verification
node --test .github/actions/check-trusted-trigger/check-trusted-trigger.test.mjs: before the fix 305 tests, 304 pass, 1 fail (dispatcher: a scheduled dispatcher run on the default branch proceeds, stoppeduntrusted-actor); after it 305 pass, 0 fail.Related
🤖 Generated with Claude Code