Skip to content

feat(dependabot): enforce AI-gated auto-merge for major github-actions bumps#8

Merged
bbkrr merged 1 commit into
mainfrom
feat/2229-enforce
Jul 10, 2026
Merged

feat(dependabot): enforce AI-gated auto-merge for major github-actions bumps#8
bbkrr merged 1 commit into
mainfrom
feat/2229-enforce

Conversation

@bbkrr

@bbkrr bbkrr commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Flips the pilot from observe to enforce: AIGATE_DRY_RUN "true""false" (one line).

After this, for realrate/RealRate-Private a major github-actions Dependabot bump whose AI verdict is auto gets approved + auto-merged — still gated by the repo's required CI (verify-output, pre-commit, semgrep, pip-audit, Analyze), so a bump that breaks CI never merges. human/uncertain verdicts still route to manual review.

Why this is safe to enforce now

  • Verdict engine validated live against GitHub Models gpt-4.1 (the model fixed in the prior PR, since gpt-5 is unavailable for inference):
    • docker/metadata-action v4→v6 (real #2226) → auto / low ✅
    • breaking-change fixture (removed/required inputs, changed defaults) → human / high ✅
    • benign Node-runtime-only bump → auto / low ✅
  • Defense in depth: github-actions ecosystem only · AI must say low-risk/non-breaking · required CI still hard-gates the merge · default-to-human on any uncertainty.
  • Fail-closed: if the Actions token can't reach the model, the script emits verdict=human and the bump routes to manual review — never a bad merge.

Note on observation

A live CI dry-run couldn't be forced: @dependabot recreate fires a synchronize event, which the gate intentionally skips (it runs once, on opened). The engine was therefore validated directly against real GitHub Models rather than via a CI dry-run. The first real opened major github-actions bump will exercise the Actions-token path end-to-end; fail-closed makes that safe.

Revert = flip back to "true". Ref RealRate-Private#2229.

🤖 Generated with Claude Code

…s bumps

Flip AIGATE_DRY_RUN "true" -> "false" for the pilot (RealRate-Private). Major
github-actions bumps whose AI verdict is `auto` now get approved + auto-merged
(still gated by the repo's required CI checks); `human`/uncertain still route to
manual review. Verdict engine validated live against GitHub Models gpt-4.1
(real + fixture changelogs). Fail-closed: any verdict error routes to human.

Ref RealRate-Private#2229.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@bbkrr bbkrr merged commit 3a7b8b0 into main Jul 10, 2026
1 check passed
@bbkrr bbkrr deleted the feat/2229-enforce branch July 10, 2026 09:34
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