would wrongly get expanded by the shell when running a job via the k8s scripts. This may lead to errors like:
ERROR: ld.so: object '/__w/_tool/CodeQL/2.12.6-20230403/x64/codeql/tools/linux64/__trace.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Previously, environment variables like:
would wrongly get expanded by the shell when running a job via the k8s scripts. This may lead to errors like:
See a complete log for context: https://github.com/matihost/monorepo/actions/runs/4638170156/jobs/8207744339
This pull request:
$
is used in the name of an environment variable$
symbols in the value of an environment variableThis behaviour is the same as other special shell characters such as
'
and"
.