mitchellh / mitchellh/vouch

vouch wrapper uses `printf %q` and cannot pass multi-word arguments to nushell

Open
#94 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Nushell
Stars
5.1k
Forks
91
PR merge metrics
No merged PRs in 30d

Description

The vouch wrapper installed by action/setup-vouch cannot pass arguments that contain spaces (or other special chars) to nushell. Any multi-word argument is broken before it reaches the nushell command.

I tried to workaround the manage-by-issue action to add a custom commit message, but got an error. To reproduce this issue, you can find my test workflow here: https://github.com/meteyou/vouch-system-test/blob/2ad01e7a72b6723ce8e258c2009a0d6a85e68a03/.github/workflows/vouch-manage-by-issue.yml#L25-L40

and here you can find the failed run: https://github.com/meteyou/vouch-system-test/actions/runs/28329531587/job/83925189414

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the vouch wrapper installed by action/setup-vouch and reproduce the failure using the linked workflow, especially its custom commit message argument. Trace how arguments are quoted before reaching the nushell command; done means arguments containing spaces or special characters arrive intact and the linked workflow succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.