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
$ docker run -v `pwd`:/app2 --rm ghcr.io/lukaw3d/yaml-shellcheck:main /app2/test-input/github-workflow.yml
2024-08-14 02:29:29,192 - root - INFO - read /app2/test-input/github-workflow.yml as GitHub Actions config...
In a/app2/test-input/github-workflow.yml/jobs/hello_world_job/steps/2/run line 2:
echo random-number $ACTION_EXPRESSION
^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo random-number "$ACTION_EXPRESSION"
For more information:
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
The text was updated successfully, but these errors were encountered:
or
This happens because
yaml-shellcheck/yaml_shellcheck.py
Line 397 in 2608670
is just
subdir = filename
for absolute paths.Naive fix
lukaw3d@8df5d64
The text was updated successfully, but these errors were encountered: