Closed arran4 closed 1 year ago
You have at least two options:
Use the --no-tty
flag to specify that stdin is not a TTY and should be treated as a normal file instead.
Use the stdinIsATTY
template function in your config file template to determine whether stdin is a TTY and use defaults if it is not.
--no-tty Do not attempt to get a TTY for reading passwords
Ah thanks. You're right. On mine I ignored it as it says passwords.
Describe the bug
I am trying to use this github action:
To verify the script as I often put changes directly in github
However I get this error:
https://github.com/arran4/dotfiles/actions/runs/3528532579/jobs/5918736477
However I believe that my defaults are sane and I just want it to accept my defaults, hence the:
At the start of the script.
I am not sure what flags - if there is one - would allow me tell it to "accept all defaults"
To reproduce
Run:
In a github action
Expected behavior
Errors that actually relate to errors in my script. Hence why I have avoided:
As by the sounds of it, it might ignore errors I want to pick up on
Output of command with the
--verbose
flagn/a
Output of
chezmoi doctor
n/a
Additional context
n/a