You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Suggested run list command for workflows with space in name doesn't work #11119
When a workflow with a space in the name is run with gh workflow run the output suggestion of how to see the runs for the workflow doesn't wrap the name in quotes.
changed the title [-]Suggest run list for workflows with space in name doesn't work[/-][+]Suggested run list command for workflows with space in name doesn't work[/+]on Jun 16, 2025
If the workflow file is invalid, I've seen the name field in the API response be the name of the file, and then it won't be found but beyond that I'm not sure why this would happen.
Oh I'm so sorry, I went totally off track because I initially failed to gh workflow run a workflow with spaces in the name. I totally get what you mean now. Definitely something to fix, thanks for clarifying.
Acceptance Criteria
Given I have a workflow file with spaces in the file name When I run gh workflow run <workflow name> Then the suggested gh run list command at the end should have the file name quoted.
Activity
[-]Suggest run list for workflows with space in name doesn't work[/-][+]Suggested run list command for workflows with space in name doesn't work[/+]williammartin commentedon Jun 16, 2025
Please provide the command output with
GH_DEBUG=apiset. I believe this should work:If the workflow file is invalid, I've seen the
namefield in the API response be the name of the file, and then it won't be found but beyond that I'm not sure why this would happen.richardgroves commentedon Jun 16, 2025
Here's what I get:
With an unquoted name at the end in the
gh run listsuggestion.But my workflow file name has spaces as well, not just the workflow name.
williammartin commentedon Jun 16, 2025
Oh I'm so sorry, I went totally off track because I initially failed to
gh workflow runa workflow with spaces in the name. I totally get what you mean now. Definitely something to fix, thanks for clarifying.Acceptance Criteria
Given I have a workflow file with spaces in the file name
When I run
gh workflow run <workflow name>Then the suggested
gh run listcommand at the end should have the file name quoted.