Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/ai-pr-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow runs a comprehensive AI-powered PR review using the reusable
# workflow from teamsnap/github-workflows. It triggers when someone comments
# /review on a pull request and uses the pr-review-toolkit plugin to dispatch
# specialized review agents (code quality, tests, error handling, types,
# comments, simplification).

name: AI PR Review
on:
issue_comment:
types: [created]

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

jobs:
ai-pr-review:
if: >-
github.event.issue.pull_request
&& contains(github.event.comment.body, '/review')
uses: teamsnap/github-workflows/.github/workflows/ai-pr-review.yml@v5
with:
pr_number: ${{ github.event.issue.number }}
client_id: ${{ vars.QA_ZOIDBERG_APP_ID }}
secrets:
app_pem: ${{ secrets.QA_ZOIDBERG_PEM }}
litellm_ai_pr_review_token: ${{ secrets.LITELLM_GH_PR_REVIEW_TOKEN }}
jira_api_token: ${{ secrets.ATLASSIAN_API_TOKEN_BOT_BENDER }}
Loading