From 94b6ba23932604bbd2cb5cfa6ad3e3820b47ba3f Mon Sep 17 00:00:00 2001 From: Menny Even Danan Date: Thu, 30 Apr 2026 21:50:49 -0400 Subject: [PATCH 1/2] Using ask-bot --- .github/workflows/review.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 21cffa4..57d6f95 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -19,6 +19,7 @@ jobs: - name: Run Cassandra AI Review uses: menny/cassandra@v0.2.0 with: + reviewer_github_token: ${{ secrets.CODE_REVIEW_BOT_TOKEN }} provider_api_key: ${{ secrets.GEMINI_API_KEY }} # The base branch to compare against (defaults to main) base: ${{ github.event.pull_request.base.sha }} From bda074c88b3a14f5490951727ec2a55312e7a1fa Mon Sep 17 00:00:00 2001 From: Menny Even Danan Date: Fri, 1 May 2026 11:15:40 -0400 Subject: [PATCH 2/2] use classic PAT for review --- .github/workflows/review.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 57d6f95..fb8235d 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -6,6 +6,7 @@ jobs: review: name: Cassandra Review runs-on: ubuntu-latest + if: github.event.pull_request.head.repo.full_name == github.repository permissions: contents: read pull-requests: write @@ -19,7 +20,7 @@ jobs: - name: Run Cassandra AI Review uses: menny/cassandra@v0.2.0 with: - reviewer_github_token: ${{ secrets.CODE_REVIEW_BOT_TOKEN }} + reviewer_github_token: ${{ secrets.AI_CODE_REVIEW_GH_TOKEN }} provider_api_key: ${{ secrets.GEMINI_API_KEY }} # The base branch to compare against (defaults to main) base: ${{ github.event.pull_request.base.sha }}