Skip to content

Commit

Permalink
Merge pull request #4 from presubmit/action
Browse files Browse the repository at this point in the history
install preview.ai reviewer
  • Loading branch information
bstanga authored Nov 9, 2024
2 parents a6fe33d + db016fd commit 5f128de
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/presubmit-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Presubmit.ai - Code Review

permissions:
contents: read
pull-requests: write
issues: write

on:
pull_request:
pull_request_review_comment:
types: [created]

jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: presubmit/ai-reviewer@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
with:
llm_model: "claude-3-5-sonnet-20241022"
enable_code_review: true
enable_pr_summary: true
enable_title_generation: true
enable_overview_comment: true

0 comments on commit 5f128de

Please sign in to comment.