Skip to content

Commit 51fc6ce

Browse files
authored
Add default Claude action
1 parent 79c1e7a commit 51fc6ce

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/claude-code.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Claude Code Review
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request:
7+
types: [opened, synchronize]
8+
9+
jobs:
10+
claude:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: anthropics/claude-code-action@beta
15+
with:
16+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
17+
experimental_allowed_domains: |
18+
.github.com
19+
.githubusercontent.com

CLAUDE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# CLAUDE.md
2+
Please review code for clarity, maintainability, and correctness. Suggest improvements without rewriting unless necessary.
3+
Avoid nitpicks unless they impact understanding.

0 commit comments

Comments
 (0)