How to login to ChatGPT plus account? #378
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 PR Assistant | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| pull_request_review_comment: | |
| types: [created] | |
| issue_comment: | |
| types: [created] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| jobs: | |
| claude-code: | |
| runs-on: ubuntu-latest | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| # Skip if comment is from bot (avoid loops) | |
| # For issue_comment, only process if it's on a PR | |
| if: | | |
| (github.event_name != 'issue_comment' && github.event_name != 'pull_request_review_comment') || | |
| (github.event_name == 'issue_comment' && github.event.issue.pull_request && github.event.comment.user.login != 'github-actions[bot]') || | |
| (github.event_name == 'pull_request_review_comment' && github.event.comment.user.login != 'github-actions[bot]') | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Claude Code Action | |
| uses: anthropics/claude-code-action@v1 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} |