devsyai/Devsy Action
GitHub Action for automated PR generation, updates, and plan creation using Claude Code
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| anthropic_api_key | Anthropic API key for Claude | no | — |
| claude_code_oauth_token | Claude Code OAuth token (alternative to anthropic_api_key) | no | "" |
| model | Claude model to use | no | sonnet |
| custom_instructions | Additional instructions for Claude | no | "" |
| allowed_tools | Additional tools for Claude to use (base tools are always included) | no | "" |
| disallowed_tools | Tools that Claude should never use | no | "" |
| use_bedrock | Use AWS Bedrock for authentication | no | false |
| use_vertex | Use Google Vertex for authentication | no | false |
| max_turns | Maximum number of conversation turns for Claude | no | 300 |
| timeout_minutes | Timeout in minutes for Claude Code execution | no | 30 |
| claude_env | Environment variables to pass to Claude Code execution | no | "" |
| setup_script | Path to setup script to run before Claude Code execution | no | "" |
| mode | Action mode: pr-gen, pr-update, pr-review, or plan-gen | yes | — |
| pr_number | PR number to update (for pr-update mode) or review (for pr-review mode) | no | — |
| prompt | The prompt to send to Claude Code (required for pr-gen and plan-gen modes) | no | "" |
| prompt_file | Path to a file containing the prompt | no | "" |
| base_branch | Base branch for creating new branches | no | main |
| backend_url | Devsy backend URL for token exchange | no | https://devsy.ai |
| callback_url | URL to POST completion status and results | no | "" |
| callback_auth_token | Bearer token for callback authentication | no | "" |
| callback_auth_header | Custom auth header name (default: Authorization) | no | Authorization |
Outputs
| name | description |
|---|---|
| conclusion | Execution status of the action |
| execution_file | Path to the execution log file |
| pr_number | PR number (for pr-gen and pr-update modes) |
| pr_url | PR URL (for pr-gen and pr-update modes) |
| plan_output | Plan content (for plan-gen mode) |
| token_source | Authentication method used (devsy-bot or github-actions-bot) |