Skip to content

Conversation

lgallard
Copy link
Owner

@lgallard lgallard commented Aug 7, 2025

Summary

  • Add claude-dispatch.yml workflow for repository_dispatch events
  • Enables programmatic Claude Code task execution via GitHub API
  • Complements existing comment-based Claude integration (@claude triggers)

Features

  • Triggered by repository_dispatch events with type 'claude'
  • Uses Anthropic's Claude Code Action (beta)
  • Configurable model selection (defaults to Claude Sonnet 4)
  • Support for custom instructions and allowed tools
  • Write permissions for contents, pull-requests, and issues

Test plan

  • Verify workflow file syntax is valid
  • Test dispatch trigger via GitHub API (once merged)
  • Confirm it works alongside existing claude.yml workflow

- Add claude-dispatch.yml workflow for repository_dispatch events
- Enables programmatic Claude Code task execution via API
- Complements existing comment-based Claude integration
- Supports configurable model selection and allowed tools
- Change trigger type from 'claude' to 'claude-dispatch'
- Update action version from @beta to @eap
- Add remote-agent mode configuration
- Include anthropic_api_key option alongside existing oauth token
- Add id-token write permission
- Include fetch-depth: 1 for checkout
- Add preliminary setup section
- Update job name to 'claude-dispatch'
- Add comprehensive documentation comments
@lgallard lgallard merged commit 660d70d into master Aug 7, 2025
38 checks passed
@lgallard lgallard deleted the feat/add-claude-dispatch-workflow branch August 7, 2025 10:13
@github-actions github-actions bot mentioned this pull request Aug 7, 2025
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