Rebuild comment sync as a post-merge repair caller - #462
Conversation
Replaces the in-PR workflow_run caller: any non-Dependabot push to a Dependabot branch flips the retriggered runs' actor off dependabot[bot], lifting the Dependabot sandbox for the PR's unreviewed action bumps (verified live on basecamp-cli#566; see basecamp/.github#11). The reusable workflow now runs post-merge: on workflow-file pushes to main it repairs drifted comments via a comment-only auto-merging PR — only reviewed code ever executes. Lands disabled; enabled after a full-cycle exercise.
Sensitive Change Detection (shadow mode)This PR modifies control-plane files:
|
There was a problem hiding this comment.
Pull request overview
This PR updates the Dependabot action pin comment sync automation to the post-merge “repair PR” model by switching the caller workflow to invoke the SHA-pinned reusable workflow from basecamp/.github, intended to recompute # vX.Y.Z comments after workflow changes land on the default branch.
Changes:
- Replace the previous in-PR
workflow_runtrigger model with a default-branchpushtrigger filtered to.github/workflows/*.ymland.yaml. - Update the caller to use the new reusable workflow pin (
45d3fc95…) and adjust job permissions (pull-requests: write). - Keep
secrets: inheritfor passing the environment-scoped deploy key through to the reusable workflow.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Replaces the in-PR
workflow_runcaller with the post-merge model (basecamp/.github#11, pinned 45d3fc95): any non-Dependabot push to a Dependabot branch flips the retriggered runs' actor offdependabot[bot], lifting the Dependabot sandbox for the PR's unreviewed action bumps — verified live on basecamp/basecamp-cli#566. Post-merge, the reusable workflow repairs drifted comments via a comment-only auto-merging PR; every pin it touches is already reviewed, and nothing is ever pushed to a Dependabot branch. Dependabot maintains the bare comments on its own PRs (this repo has been bare-pin since #458).The workflow entry stays disabled through this merge; this repo hosts the full-cycle exercise (seeded drift → repair PR → held-run approval → CI → auto-merge → terminal no-op) before fleet enablement. Siblings: basecamp-cli#577, hey-cli#143, fizzy-cli#195, cli#54, openclaw-basecamp#158.
Summary by cubic
Switch the Dependabot Actions pin comment sync to a post-merge repair flow. It now runs on workflow-file pushes to main and fixes drift via a comment-only repair PR that auto-merges after checks, keeping the Dependabot sandbox intact.
workflow_runwith push-to-main trigger for.github/workflows/*.{yml,yaml}; keepworkflow_dispatch(no inputs).basecamp/.githubto recompute pins and open repair PRs; no pushes to Dependabot branches, only reviewed default-branch code runs.pull-requestsraised to write;contentsread;actionswrite.Written for commit 9af6f60. Summary will update on new commits.