Skip to content

Commit b30ff52

Browse files
chore: add AI PR Review to github-workflows self-CI
Drops in the same shared workflow we use across the Kotlin/TS service repos (service-control, service-vehicle, service-api-gateways, etc.) so PRs to this repo also get an automated AI code review. Same pattern as service-vehicle and service-api-gateways: - Triggers on opened, ready_for_review, synchronize, and issue_comment - Delegates to monta-app/ai-standards/.github/workflows/ai-pr-review.yml@main - Uses the org-level ANTHROPIC_API_KEY + AI_REVIEWER_SECRET_KEY secrets Sets run-on-drafts: true so reviews fire on draft PRs as well — useful for this repo specifically because changes here usually start as drafts while we test against downstream service repos before promoting. The actionlint check in pull-request.yml already covers static workflow syntax; this layers a content/intent review on top, which is useful for a repo where every change ripples to every Monta service.
1 parent 9d301fa commit b30ff52

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/ai-pr-review.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: AI PR Review
2+
3+
on:
4+
pull_request:
5+
types: [opened, ready_for_review, synchronize]
6+
issue_comment:
7+
types: [created]
8+
9+
jobs:
10+
ai-review:
11+
uses: monta-app/ai-standards/.github/workflows/ai-pr-review.yml@main
12+
with:
13+
run-on-drafts: true
14+
secrets:
15+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
16+
AI_REVIEWER_SECRET_KEY: ${{ secrets.AI_REVIEWER_SECRET_KEY }}

0 commit comments

Comments
 (0)