runtime: support sys.stdout and sys.stderr and implement proper print #12
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: Claude Code Review | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, ready_for_review, reopened] | |
| jobs: | |
| claude-review: | |
| # Only review PRs opened by the repository owner | |
| if: github.event.pull_request.user.login == 'gf712' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| id-token: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 1 | |
| - name: Run Claude Code Review | |
| id: claude-review | |
| uses: anthropics/claude-code-action@v1 | |
| with: | |
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} | |
| # Uses the repo-local forked review command in .claude/commands/code-review.md, | |
| # which keeps the multi-agent review pipeline but posts findings as inline comments. | |
| prompt: '/code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}' | |
| # The forked command needs the inline-comment tool, which isn't allowed by default. | |
| claude_args: | | |
| --allowedTools "mcp__github_inline_comment__create_inline_comment" | |
| # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md | |
| # or https://code.claude.com/docs/en/cli-reference for available options | |