feat(dependabot): enforce AI-gated auto-merge for major github-actions bumps#8
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Flips the pilot from observe to enforce:
AIGATE_DRY_RUN"true"→"false"(one line).After this, for
realrate/RealRate-Privatea majorgithub-actionsDependabot bump whose AI verdict isautogets 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
gpt-4.1(the model fixed in the prior PR, since gpt-5 is unavailable for inference):auto/ low ✅human/ high ✅auto/ low ✅verdict=humanand the bump routes to manual review — never a bad merge.Note on observation
A live CI dry-run couldn't be forced:
@dependabot recreatefires asynchronizeevent, which the gate intentionally skips (it runs once, onopened). The engine was therefore validated directly against real GitHub Models rather than via a CI dry-run. The first realopenedmajor 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