Repository navigation
feat(workflows): add workflow_dispatch with free-text prompt to claude-code template - #263
Conversation
Co-authored-by: Eden Reich <[email protected]>
|
@infer Can you fix the CI - it's failing. |
|
Model: Todos
Pull Request✅ Infer Result: SuccessFixed the CI failure in PR #263 by escaping the Model: Tokens: 980,163 in · 6,992 out · 987,155 total (22 requests) Tool calls: 31 total · 90% success rate
|
The track_progress line used unescaped dollar-brace-brace which Go text/template interpreted as a template action, causing function github not defined at render time. Escaped it with the same backtick pattern used elsewhere in the template. Also fixed test assertions: --effort ultracode to --effort max (template was updated but test wasnt), and track_progress: true to the GitHub Actions expression (the expression, not a static value).
|
🎉 This PR is included in version 0.47.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Resolves #261
Summary
Adds
workflow_dispatchwith a free-textpromptinput to the generated Claude Code workflow template, mirroring the pattern already present in the Infer workflow and the org.githubreusable workflows. Users can now open the workflow in the GitHub Actions UI, click "Run workflow", and type any task they want - an empty prompt falls back to the existing issue/comment-triggered behavior.Changes
workflow_dispatchtrigger with a free-textpromptstring input (not required) to the claude-code workflow templategithub.event_name == 'workflow_dispatch'workflow_dispatchtrigger, prompt input, and prompt wiringworkflow_dispatchwithpromptwired through - no changes needed there