Skip to content

Fix release-notify first-run sending huge changelog #2

Fix release-notify first-run sending huge changelog

Fix release-notify first-run sending huge changelog #2

Workflow file for this run

name: Claude Code Review
on:
pull_request:
types: [opened, synchronize, reopened]
issue_comment:
types: [created]
jobs:
review:
if: |
(github.event_name == 'pull_request') ||
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude'))
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
issues: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
track_progress: true
prompt: |
REPO: ${{ github.repository }}
PR NUMBER: ${{ github.event.pull_request.number || github.event.issue.number }}
Review this pull request for a TypeScript CLI tool (Node.js, ESM, Commander.js).
Focus on:
- TypeScript correctness and type safety
- Error handling and edge cases
- Security (no credential leaks, proper input validation)
- API client patterns (auth headers, response parsing)
- CLI UX (helpful error messages, correct exit codes)
- ESM compatibility (`.js` extensions on imports, no CommonJS)
Use `gh pr comment` for top-level summary.
Use `mcp__github_inline_comment__create_inline_comment` for specific code issues.
claude_args: |
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)"