Skip to content

fix(automerge): accept divergent osv check names in the reusable auto-merge gate - #7

Merged
forkwright merged 1 commit into
mainfrom
fix/automerge-osv-check-name
Jul 1, 2026
Merged

forkwright merged 1 commit into
mainfrom
fix/automerge-osv-check-name

Conversation

@forkwright

Copy link
Copy Markdown
Owner

Root cause of dependabot auto-merge failing on every delegating repo (observed: 5 of 6 theatron dependabot PRs, all 4 aletheia ones): the reusable's endswith("osv scanner") matcher never matches the delegated check name security / osv scanner / osv-scan, while kanon's inlined osv scanner matches — so kanon auto-merged and theatron/aletheia hard-failed with all real checks green.

require_passed_check now takes any-of leaves and the osv line checks "osv scanner" "osv-scan". Behavior otherwise unchanged: first matching check must be pass; nothing reported under any leaf still fails closed.

Supersedes theatron's stranded fix/dependabot-auto-merge-local branch (which ported the workflow local to one repo — this fixes the shared reusable for the fleet). Consuming repos on @main get it immediately; theatron pins at 66867bc and needs a pin bump (follow-up).

Longer-term: fleet-standardization R7 (kanon #2342) should unify the check names themselves, at which point the any-of degrades gracefully to a single leaf.

…aves

The osv verification reports as "osv scanner" where inlined (kanon) but
"… osv scanner / osv-scan" where delegated (theatron, aletheia); a single
endswith leaf can never match both, so auto-merge hard-failed on every
delegating repo with all real checks green. require_passed_check now
accepts any-of leaves; osv checks "osv scanner" then "osv-scan".
@forkwright
forkwright merged commit 961f4e0 into main Jul 1, 2026
1 check passed
@forkwright
forkwright deleted the fix/automerge-osv-check-name branch July 1, 2026 22:25
forkwright added a commit to forkwright/theatron that referenced this pull request Jul 1, 2026
…e fix (#166)

Pulls forkwright/.github#7: the reusable dependabot auto-merge gate now matches the delegated osv-scan check name, unblocking auto-merge on this repo.

Gate-Passed: kanon 0.1.5 +stages:fmt,check,clippy,nextest,lint sha:e8440d9acedcb55c9dc49271e9775963c60348ec
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