From 60c92c26a0f8ad90bc20a8137b6560b9bf3954be Mon Sep 17 00:00:00 2001 From: Kim Ebert Date: Mon, 5 Oct 2026 18:48:32 -0600 Subject: [PATCH] ci: add AI code review workflow Runs the shared Indicio-tech/ai-review-action on PR open/sync/reopen, with workflow_dispatch available for manual re-runs from the Actions tab. Co-Authored-By: Claude Sonnet 5 Signed-off-by: Kim Ebert --- .github/workflows/ai-review.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ai-review.yml diff --git a/.github/workflows/ai-review.yml b/.github/workflows/ai-review.yml new file mode 100644 index 0000000..7682cea --- /dev/null +++ b/.github/workflows/ai-review.yml @@ -0,0 +1,23 @@ +name: AI review +on: + pull_request: + types: [opened, synchronize, reopened] + workflow_dispatch: + inputs: + pr-number: + description: PR to review (defaults to current PR for pull_request events) + required: false + type: string + +jobs: + ai-review: + uses: Indicio-tech/ai-review-action/.github/workflows/ai-review.yml@v1 + with: + pr-number: ${{ inputs.pr-number }} + permissions: + contents: read + pull-requests: write + issues: write + secrets: + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} + action-repo-token: ${{ secrets.AI_ACTION_TOKEN }}