ci: Integrate Warden for AI-powered PR code review#6003
Open
Conversation
Closes #6002 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog.
Plus 14 more 🤖 This preview updates automatically when you update the PR. |
Contributor
alwx
approved these changes
Apr 16, 2026
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.
📢 Type of change
📜 Description
Adds
warden.tomlat the repo root to enable Warden AI-powered PR reviews. The org-wide workflow ingetsentry/.githubalready runs Warden on all repos — this config file activates it forsentry-react-native.Skills enabled:
code-review— AI code reviewfind-bugs— bug detectionsecurity-review— security analysisgha-security-review— GitHub Actions security reviewAlso adds the
wardenskill toagents.tomlfor local agent usage.💡 Motivation and Context
Per the SDK Review and CI standards, SDK repositories should have Warden configured in CI.
Closes RN-585
💚 How did you test it?
Warden ran successfully on this PR via the org-wide workflow. All 4 skills completed with zero findings:
code-reviewfind-bugssecurity-reviewgha-security-reviewOrg-level secrets (
WARDEN_APP_ID,WARDEN_PRIVATE_KEY,WARDEN_ANTHROPIC_API_KEY,WARDEN_MODEL,WARDEN_SENTRY_DSN) were picked up automatically — no repo-level configuration needed.📝 Checklist
sendDefaultPIIis enabled🔮 Next steps
🤖 Generated with Claude Code