2.14 features #169
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 | |
| # GITHUB_TOKEN needs contents:read and actions:read — required by | |
| # claude-code-action for restoring trusted config files from the base branch. | |
| # All other GitHub API access uses the App token. | |
| permissions: | |
| contents: read | |
| actions: read | |
| on: | |
| issue_comment: | |
| types: [created] | |
| pull_request_review_comment: | |
| types: [created] | |
| pull_request_target: | |
| types: [opened, reopened] | |
| jobs: | |
| claude: | |
| uses: synadia-io/ai-workflows/.github/workflows/claude.yml@v2 | |
| with: | |
| gh_app_id: ${{ vars.CLAUDE_GH_APP_ID }} | |
| checkout_mode: "base" | |
| review_focus: | | |
| Additionally focus on: | |
| - Goroutine leaks and proper channel/context cancellation | |
| - Race conditions and correct mutex usage | |
| - Error handling patterns (wrapping, sentinel errors) | |
| - API compatibility with existing public interfaces | |
| secrets: | |
| claude_oauth_token: ${{ secrets.CLAUDE_OAUTH_TOKEN }} | |
| gh_app_private_key: ${{ secrets.CLAUDE_GH_APP_PRIVATE_KEY }} | |