[audit] hot-exit: mainWindowRestoreStarted flag never reset on success #327
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 | |
| on: | |
| # Auto-review new issues | |
| issues: | |
| types: [opened] | |
| # PR review on open/update | |
| pull_request: | |
| types: [opened, synchronize] | |
| # Respond to @claude mentions in issues/PRs | |
| issue_comment: | |
| types: [created] | |
| # Respond to @claude in PR review comments | |
| pull_request_review_comment: | |
| types: [created] | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| id-token: write | |
| jobs: | |
| claude: | |
| runs-on: ubuntu-latest | |
| # Skip bot comments to avoid infinite loops | |
| if: | | |
| (github.event_name == 'issues') || | |
| (github.event_name == 'pull_request') || | |
| (github.event_name == 'issue_comment' && !github.event.comment.performed_via_github_app) || | |
| (github.event_name == 'pull_request_review_comment' && !github.event.comment.performed_via_github_app) | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - uses: anthropics/claude-code-action@v1 | |
| id: claude | |
| with: | |
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} | |
| claude_args: "--model opus" | |
| # PR review: consolidate into one comment, add "Fix this" links | |
| use_sticky_comment: true | |
| include_fix_links: true | |