Add AI PR review workflow#117
Open
jeffsheltren wants to merge 1 commit into
Open
Conversation
SummaryAdds a GitHub Actions workflow that triggers an AI-powered code review via the Type: config Walkthrough
AI Review Summary — generated by ai-pr-review |
There was a problem hiding this comment.
AI Review: Approved
No findings above the confidence threshold. The changes look good.
Token usage by agent
| Agent | Model | Input | Output | Cache Write | Cache Read | Total | Est. Cost |
|---|---|---|---|---|---|---|---|
| pr-summarizer | Sonnet 4.6 | 580 | 153 | 1916 | 0 | 2649 | $0.0112 |
| code-reviewer | Sonnet 4.6 | 3523 | 621 | 1341 | 0 | 5485 | $0.0249 |
| Total | 4103 | 774 | 3257 | 0 | 8134 | $0.0361 |
Prices are public list rates and do not reflect discounts, commitments, or proxy markups.
AI Review — generated by ai-pr-review
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.
Summary
Adds a GitHub Actions workflow that runs an automated AI code review on
pull requests using the
tag1consulting/ai-pr-reviewcontainer action.The workflow triggers when a PR is opened, updated (
synchronize), orreopened, and posts review feedback as PR comments.
Details
fetch-depth: 0) so the action can diffagainst the base branch.
contents: readandpull-requests: writeso the action canread the diff and post review comments.
ANTHROPIC_API_KEYrepository secret (already configured) andthe built-in
GITHUB_TOKENfor posting comments.