File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " + Claude Code / Documentation Review"
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+
7+ permissions :
8+ contents : read
9+ pull-requests : write
10+
11+ jobs :
12+ documentation-review :
13+ name : Review doc changes
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0 # Needed to access base branch for git diff
21+
22+ - name : Run Claude Code to analyze changes
23+ uses : anthropics/claude-code-action@v1
24+ with :
25+ github_token : ${{ secrets.GITHUB_TOKEN }}
26+ anthropic_api_key : ${{ secrets.ANTHROPIC_API_KEY }}
27+ prompt : |
28+ You are reviewing a PR to verify Claude Code integration works.
29+
30+ **Task**:
31+ 1. Run: git diff origin/${{ github.base_ref }}...HEAD
32+ 2. List all changed files
33+ 3. For each file, provide a 1-sentence summary of what changed
34+
35+ Keep it concise - this is just a verification test.
36+
37+ **Output format**:
38+ ## Changed Files
39+ - `path/to/file1.py` - Brief description
40+ - `path/to/file2.yml` - Brief description
41+
42+ ## Summary
43+ [One sentence about the overall change]
44+ claude_args : >-
45+ --max-turns 10
46+ --model claude-sonnet-4-5-20250929
You can’t perform that action at this time.
0 commit comments