this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Create claude-dispatch.yml

authored by

Cameron Cooke and committed by
GitHub
12230019 1614f5a6

+49
+49
.github/workflows/claude-dispatch.yml
··· 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