Skip to content

Commit 95fd240

Browse files
committed
Add clade workflow
1 parent 5295de0 commit 95fd240

2 files changed

Lines changed: 52 additions & 0 deletions

File tree

.cursor/environment.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"agentCanUpdateSnapshot": true
3+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# IMPORTANT: Do not move this file in your repo! Make sure it's located at .github/workflows/claude-dispatch.yml
2+
name: Claude Code Dispatch
3+
4+
# IMPORTANT: Do not modify this `on` section!
5+
on:
6+
repository_dispatch:
7+
types: [claude-dispatch]
8+
9+
jobs:
10+
claude-dispatch:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
issues: write
16+
id-token: write
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 1
22+
23+
# - name: Preliminary Setup
24+
# run: |
25+
# echo "Setting up environment..."
26+
# Add any preliminary setup commands here to setup Claude's dev environment
27+
# e.g., npm install, etc.
28+
29+
- name: Run Claude Code
30+
id: claude
31+
uses: anthropics/claude-code-action@eap
32+
with:
33+
mode: 'remote-agent'
34+
35+
# Optional: Specify an API key, otherwise we'll use your Claude account automatically
36+
# anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
37+
38+
# Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4)
39+
# model: "claude-opus-4-20250514"
40+
41+
# Optional: Allow Claude to run specific commands
42+
# allowed_tools: |
43+
# Bash(npm run lint)
44+
# Bash(npm run test)
45+
# Bash(npm run build)
46+
47+
# Optional: Custom environment variables for Claude
48+
# claude_env: |
49+
# NODE_ENV: test

0 commit comments

Comments
 (0)