Skip to content

chore: add Dependabot triage agent and ignore RN/Gradle wrapper bumps - #295

Open
GioDavid wants to merge 1 commit into
mainfrom
chore/dependabot-triage-agent
Open

GioDavid wants to merge 1 commit into
mainfrom
chore/dependabot-triage-agent

Conversation

@GioDavid

Copy link
Copy Markdown
Collaborator

Summary

Adds a Claude Code workflow for triaging Dependabot PRs, and tunes dependabot.yml based on the first triage run over the 11 open bumps.

Claude Code triage workflow

  • .claude/agents/dependabot-triager.md: a subagent that triages one PR, or a batch of green PRs from the same ecosystem.
    • Reproduces CI in an isolated worktree and classifies each failure as noise, stale base, or a real break.
    • Proposes a minimal fix as a local commit.
    • Never writes to GitHub.
  • .claude/skills/dependabot-triage/SKILL.md: adds /dependabot-triage.
    • Lists open Dependabot PRs and runs triager agents on them in parallel.
    • Merges their reports into one risk-ordered table.
    • Any action on GitHub (push, re-run, merge, close) needs explicit approval.

Dependabot config

  • Ignore react-native and @react-native/* from 0.87.0. RN 0.87 breaks the whole test suite: react-native-testing-mocks 1.7.0 can't mock native modules before InitializeCore runs. RN also needs native template changes that Dependabot can't make, so upgrade it by hand with upgrade-helper once the mocks support 0.87.
  • Ignore gradle-wrapper. The RN template sets the wrapper version (chore(deps): bump gradle-wrapper from 8.14.2 to 9.8.0 in /example/android #286 proposed 9.8.0, newer than any version RN has tested).
  • GitHub Actions: updates are now grouped into one PR, with a 30-day cooldown on majors.

Other

  • .gitignore: adds .claude/worktrees/, .claude/settings.local.json and audit/.

Follow-ups

🤖 Generated with Claude Code

Add a dependabot-triager subagent and a /dependabot-triage skill that
fan out over open Dependabot PRs, reproduce CI failures in worktrees and
report a risk-ordered table, without writing to GitHub unless approved.

Dependabot config:
- ignore react-native and @react-native/* >= 0.87.0 until
  react-native-testing-mocks supports it
- ignore gradle-wrapper, which follows the RN template
- group github-actions updates and add a 30-day major cooldown

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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