-
Notifications
You must be signed in to change notification settings - Fork 24
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
Unquoted optional variable reference generates invalid bash #19
Comments
Running into this error/issue as well. Looks like @christhekeele nailed the issues and the suggested fix. I don't see anything in your ReadMe for a process to contribute to the repo, but I am sure there are plenty of devs that would be happy to open a PR for a hotfix around this. I would be happy to. My org has built a process that is a shell of this repo to deploy our processes in CI/CD, but I would like to start moving to something like this. This is the second time we have tried. |
FWIW if you need to you can just switch over to always providing a |
I have created a fork that tries to fix this, but I don't have the means to vigorously test all input permutations, so more people trying it out is better: main...christhekeele:astro-deploy-action:add-missing-quoting-to-inputs |
Thank you for the tip @christhekeele . I tried the id and was still getting the same error. I changed it back to our original process for now. I don't want to keep other team members from deploying anything right now. |
On this line:
deploy-action/action.yaml
Line 91 in 9c67ac7
The
${{ inputs.deployment-id }}
term is unquoted. As it is meant to be optional, that meant that the bash expression expands (post-GH-action variable interpolation) into:This is invalid syntax and fails with
The text was updated successfully, but these errors were encountered: