Skip to content

Consume py-canon's auto-merge instead of copying it - #18

Merged
soodoku merged 1 commit into
mainfrom
ci/auto-merge-shim
Aug 13, 2026
Merged

Consume py-canon's auto-merge instead of copying it#18
soodoku merged 1 commit into
mainfrom
ci/auto-merge-shim

Conversation

@soodoku

@soodoku soodoku commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Replaces a copied dependabot-auto-merge.yml with the four-line shim preen already uses, delegating to py-canon's reusable-dependabot-auto-merge.yml@v1.

Why now: the auto-merge arming bug (gojiplus/py-canon#21) can only reach repos that consume the reusable workflow. Eight repos held copies, so a fix in py-canon would have reached exactly one of them — preen. Copying the fix into eight files is what the shim design exists to avoid; preen's own header says so: "All the logic lives in py-canon, so a fix there reaches this repo on its next run instead of waiting for someone to copy a file across."

Verified no regression before migrating. py-canon's reusable is a superset — 317 lines against this copy's 273 — with identical coverage of ELIGIBLE_LABEL, STALE_AFTER_HOURS, never_reported, the sweep, gh label create and GH_REPO (the label fix landed today). Checked feature by feature rather than assumed.

Sequencing: @v1 currently tracks py-canon's main, so this repo picks up the arming guard once py-canon#21 merges and v1 moves. Merging this PR before that is safe — it just means current behaviour, delivered from one place instead of nine.

actionlint clean.

🤖 Generated with Claude Code

The arming fix in gojiplus/py-canon#21 reaches only repositories that consume
the reusable workflow. Eight held copies, so it would have reached one.

Verified against py-canon's reusable before switching: it is a superset of this
copy, same coverage of the label, the sweep, the stale warning, the
missing-required-context naming and GH_REPO. Nothing is lost by delegating.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@soodoku
soodoku merged commit 9e80567 into main Aug 13, 2026
8 checks passed
@soodoku
soodoku deleted the ci/auto-merge-shim branch August 13, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant