Add Claude Code Action for automatic Renovate PR fixes #2625
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.
Summary
This PR adds a GitHub Actions workflow that uses Claude Code to automatically fix common issues in Renovate dependency update PRs.
What it does
The workflow triggers on Renovate PRs (opened and synchronize events) and automatically:
Fixes package-lock.json issues - Renovate often fails to correctly regenerate package-lock.json files. Claude will run
npm installin both the root directory andpackages/browser-injectablesto ensure lock files are properly updated.Fixes small API changes - When tests fail due to minor API changes (≤5 lines of code), Claude will detect and fix them automatically.
Performs security review - Checks dependency changes for known security issues and flags any concerns in a comment.
Example PRs with issues
Configuration
The workflow:
CLAUDE_CODE_OAUTH_TOKENfrom repository secrets (already configured)ADOBE_BOT_GITHUB_TOKENfor GitHub operationsrenovate[bot]Testing
This workflow will activate on the next Renovate PR. Claude will analyze the PR, fix any issues, and commit the changes directly to the PR branch.
🤖 Generated with Claude Code