Skip to content

Commit 5f49c53

Browse files
authored
Merge pull request #24 from synadia-io/claude
claude
2 parents 7cddf8f + 596dda3 commit 5f49c53

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/claude.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Claude Code
2+
3+
# GITHUB_TOKEN is neutered — all GitHub API access uses the App token instead.
4+
permissions: {}
5+
6+
on:
7+
issue_comment:
8+
types: [created]
9+
pull_request_review_comment:
10+
types: [created]
11+
pull_request_target:
12+
types: [opened, reopened]
13+
14+
jobs:
15+
claude:
16+
name: Claude Review
17+
uses: synadia-io/ai-workflows/.github/workflows/claude.yml@v2
18+
if: contains(
19+
fromJson('["OWNER","MEMBER","COLLABORATOR"]'),
20+
github.event.comment.author_association || github.event.pull_request.author_association
21+
)
22+
with:
23+
gh_app_id: ${{ vars.CLAUDE_GH_APP_ID }}
24+
checkout_mode: "base"
25+
review_focus: |
26+
Additionally focus on:
27+
- Performance implications (hot paths, allocations, lock contention)
28+
- Concurrency safety (goroutine leaks, race conditions, deadlocks)
29+
- Security boundaries (authentication, authorization, TLS handling)
30+
- Error handling patterns (wrapping, sentinel errors)
31+
- API compatibility with existing public interfaces
32+
secrets:
33+
claude_oauth_token: ${{ secrets.CLAUDE_OAUTH_TOKEN }}
34+
gh_app_private_key: ${{ secrets.CLAUDE_GH_APP_PRIVATE_KEY }}

0 commit comments

Comments
 (0)