-
Notifications
You must be signed in to change notification settings - Fork 32
Add --raw-field flag to run command for workflow_dispatch inputs #6000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot use same argument names as gh workflow run |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Changed to use The flag now accepts the same format as the GitHub CLI: gh aw run workflow -f key=value -f env=prodHelp output shows the updated flag: |
|
💥 WHOOSH! Smoke Claude springs into action on this pull request! [Panel 1 begins...] |
|
📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing... |
|
🔮 The ancient spirits stir... Smoke Codex awakens to divine this pull request... |
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 https://github.com/githubnext/gh-aw/tree/copilot/add-input-support-to-workflow |
|
📰 BREAKING: Smoke Copilot Playwright is now investigating this pull request. Sources say the story is developing... |
|
Smoke Test Results - Claude (Sonnet 4.5) Recent PRs:
Test Results: Status: PASS (5/6 core tests passed)
|
Smoke Test ResultsLast 2 Merged PRs:
✅ GitHub MCP Testing Status: PASS
|
Smoke Test ResultsLast 2 Merged PRs: ❌ (safeinputs-gh tool HTTP/HTTPS error) Overall Status: ❌ FAIL Test file created: 📰🔥📋 https://github.com/githubnext/gh-aw/actions/runs/20097778037 fer issue #6000 🗺️ |
Smoke Test Results - Run 20097778036✅ Playwright MCP: Page loaded, title verified: "GitHub · Change is constant. GitHub keeps you ahead. · GitHub" Overall Status: FAIL (1 of 3 tests failed)
|
|
PRs reviewed:
|
The
runcommand lacked support for passing workflow inputs when triggering workflows withworkflow_dispatch. Users could not set input values without manually invokinggh workflow rundirectly.Changes
--raw-field/-fStringArray flag acceptingkey=valueformat (matchinggh workflow runargument names)-f key=valuearguments passed togh workflow runinvalid input formatorkey cannot be empty)Usage
Verbose output shows generated command:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Changeset
gh aw runvia the new--raw-field(-f) flag; acceptskey=valuepairs and validates formatting. This forwards inputs togh workflow runas-f key=valuearguments.