Skip to content

Add claude-worker dispatch workflow - #186

Open
shubhamshinde360 wants to merge 2 commits into
mainfrom
add-claude-worker-workflow
Open

shubhamshinde360 wants to merge 2 commits into
mainfrom
add-claude-worker-workflow

Conversation

@shubhamshinde360

Copy link
Copy Markdown

Summary

  • Adds a workflow_dispatch workflow that sets up a runner with Claude Code ready to take work
  • Uses anthropics/claude-code-action/base-action (SHA-pinned to v1)
  • Configurable inputs: prompt, model, max turns, allowed tools
  • Uses existing ANTHROPIC_CODE_REVIEW_KEY secret

Test plan

  • Trigger manually via Actions tab with a simple prompt (e.g. "List the files in this repo")
  • Verify Claude agent runs and output is visible in the workflow logs

🤖 Generated with Claude Code

Sets up a GitHub Actions runner with Claude Code (via claude-code-action
base-action) ready to accept work via workflow_dispatch. Configurable
model, turn budget, and tool allowlist.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@shubhamshinde360
shubhamshinde360 requested review from a team as code owners September 2, 2026 06:00
Adds a pull_request trigger (scoped to changes to this workflow file)
so the workflow runs automatically on this PR. Falls back to safe
defaults for model, prompt, turns, and tools when triggered via PR
rather than dispatch.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant