Skip to content

Commit 0d02ce0

Browse files
authored
Merge branch 'main' into feat/cli-completion
2 parents 6f1323c + 55642c2 commit 0d02ce0

4 files changed

Lines changed: 458 additions & 75 deletions

File tree

.github/workflows/claude.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Claude Code
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
analyze:
9+
if: github.repository == 'voidzero-dev/vite-plus'
10+
runs-on: ubuntu-slim
11+
permissions:
12+
contents: read
13+
issues: write
14+
id-token: write
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+
with:
20+
fetch-depth: 10
21+
persist-credentials: true
22+
23+
- name: Run Claude Code
24+
id: claude
25+
uses: anthropics/claude-code-action@26ec041249acb0a944c0a47b6c0c13f05dbc5b44 # v1.0.70
26+
with:
27+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
28+
claude_args: --allowedTools "Read,Glob,Grep,Bash(gh:*),Bash(cargo:*),Bash(git:*),WebFetch"
29+
issue_number: ${{ github.event.issue.number }}
30+
prompt: |
31+
Analyze the linked issue and determine if it can be fixed.
32+
33+
1. Search the codebase to gather relevant context (related files, existing implementations, tests)
34+
2. Determine if the issue is fixable and estimate the complexity
35+
36+
Post a comment on the issue with:
37+
- A brief summary of your understanding of the issue
38+
- Relevant files/code you found
39+
- Whether this issue is fixable (yes/no/needs clarification)
40+
- If the issue is unclear, ask for more context
41+
- If fixable, provide a concrete implementation plan with specific steps
42+
- Any potential concerns or blockers

0 commit comments

Comments
 (0)