Rebuild comment sync as a post-merge repair caller

Merged
JE
4mo ago
+16-32

Replaces the in-PR workflow_run caller with the post-merge model (basecamp/.github#11, pinned 45d3fc95): 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/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.

  • Refactors
    • Replace in-PR workflow_run with push-to-main trigger for .github/workflows/*.{yml,yaml}; keep workflow_dispatch (no inputs).
    • Use the reusable workflow from basecamp/.github to recompute pins and open repair PRs; no pushes to Dependabot branches, only reviewed default-branch code runs.
    • Permissions: pull-requests raised to write; contents read; actions write.
    • Left disabled here to run a full-cycle exercise before enabling broadly.