[LLM] Mark rules_multitool and aspect_rules_lint as dev-dependencies #40
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: AI Code Review | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| review: | |
| name: Cassandra Review | |
| runs-on: ubuntu-24.04 | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v6.0.2 | |
| - name: Generate GitHub App Token | |
| id: app-token | |
| uses: actions/create-github-app-token@v1 | |
| with: | |
| app-id: 3562238 | |
| private-key: ${{ secrets.CASSANDRA_APP_PRIVATE_KEY }} | |
| - name: Run Cassandra AI Review | |
| uses: menny/cassandra@v0.3.0 | |
| with: | |
| reviewer_github_token: ${{ steps.app-token.outputs.token }} | |
| provider_api_key: ${{ secrets.GEMINI_API_KEY }} | |
| # The base branch to compare against (defaults to main) | |
| base: ${{ github.event.pull_request.base.sha }} | |
| # The head branch/commit (defaults to HEAD) | |
| head: ${{ github.event.pull_request.head.sha }} | |
| submit_review_action: 'true' |