Skip to content

Add workflow that fails when Dependabot updates error#61

Open
claude[bot] wants to merge 2 commits into
mainfrom
claude/dependabot-failure-watcher
Open

Add workflow that fails when Dependabot updates error#61
claude[bot] wants to merge 2 commits into
mainfrom
claude/dependabot-failure-watcher

Conversation

@claude

@claude claude Bot commented Jul 21, 2026

Copy link
Copy Markdown

Requested by William Storey, Greg Oschwald · Slack thread

Before: when a Dependabot version-update job errors (e.g. gradle can't resolve a dependency), nothing surfaces it — the failure only shows as a red triangle in Insights → Dependency graph → Dependabot, which nobody checks. That's how this repo's gradle updates were silently broken for ~7 months while github-actions updates kept flowing.

After: a lightweight workflow goes red in the Actions tab whenever a Dependabot Updates run completes with a failure, so a broken ecosystem shows up through normal Actions-failure surfacing instead of being invisible.

How: Dependabot version updates now run as regular Actions workflow runs named Dependabot Updates. This adds .github/workflows/dependabot-failure-watcher.yml, triggered on workflow_run completion of that workflow, which exits non-zero when the run's conclusion is failure. No secrets, no token permissions (permissions: {}).

Verified: this repo's Dependabot Updates workflow currently shows 184 failed runs (all gradle) from Dec 2025–Jul 2026 while all github-actions runs succeeded, so the watcher will fire on the real, ongoing gradle failures immediately.

Known caveat: a failure conclusion also covers the benign "Dependabot cannot open any more pull requests" case (the open-PR limit being reached), so this may occasionally fire without a genuine error. If that proves noisy we can refine it to filter that case.

Rollout: this is the reference PR; the same single file is intended to go into the other ~39 maxmind repos that have a Dependabot config.


Generated by Claude Code

Comment thread .github/workflows/dependabot-failure-watcher.yml Fixed
Comment thread .github/workflows/dependabot-failure-watcher.yml Fixed
Comment thread .github/workflows/dependabot-failure-watcher.yml Fixed
@claude
claude Bot marked this pull request as ready for review July 21, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants