chore(deps): bump the production-dependencies group with 17 updates #63
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: Claude Code Review | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| branches: [main] | |
| issue_comment: | |
| types: [created] | |
| pull_request_review_comment: | |
| types: [created] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| id-token: write | |
| jobs: | |
| auto-review: | |
| if: github.event_name == 'pull_request' | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| concurrency: | |
| group: claude-review-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: anthropics/claude-code-action@v1 | |
| env: | |
| ANTHROPIC_BASE_URL: https://api.minimax.io/anthropic | |
| with: | |
| anthropic_api_key: ${{ secrets.MINIMAX_API_KEY }} | |
| show_full_output: true | |
| prompt: | | |
| Review this pull request. Use `gh pr diff $PR_NUMBER` to get the diff, then analyze the changes. | |
| Focus on: | |
| 1. Code correctness and potential bugs | |
| 2. TypeScript type safety | |
| 3. React best practices and performance | |
| 4. Security concerns | |
| 5. Code style consistency | |
| Be concise and actionable. Only comment on meaningful issues, not style nitpicks already covered by linters. | |
| IMPORTANT: After completing your review, you MUST post your findings as a PR comment. | |
| Steps to post: 1) Write review to /tmp/review.md using the Write tool, 2) Run: gh pr comment $PR_NUMBER --body-file /tmp/review.md | |
| Get the PR number first via: gh pr list --state open --json number --jq '.[0].number' | |
| claude_args: '--model MiniMax-M2.5 --max-turns 20 --allowedTools "Bash(git:*),Bash(gh:*),Read,Glob,Grep,WebFetch,Write"' | |
| interactive: | |
| if: | | |
| (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) || | |
| (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| concurrency: | |
| group: claude-interactive-${{ github.event.issue.number || github.event.pull_request.number }}-${{ github.event.comment.id }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: anthropics/claude-code-action@v1 | |
| env: | |
| ANTHROPIC_BASE_URL: https://api.minimax.io/anthropic | |
| with: | |
| anthropic_api_key: ${{ secrets.MINIMAX_API_KEY }} | |
| claude_args: '--model MiniMax-M2.5 --max-turns 20 --allowedTools "Bash(git:*),Bash(gh:*),Read,Glob,Grep,WebFetch,Edit,Write"' |