-
Notifications
You must be signed in to change notification settings - Fork 151
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
Warning if explicit shell is not set #374
Comments
This is a real issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've encountered that github actions uses
sh
as theshell
even whenbash
is on the worker image, unlessshell: bash
is explicitly added, either for the step or using thedefaults
https://docs.github.com/en/actions/using-jobs/setting-default-values-for-jobs#example-set-the-default-shell-and-working-directoryIMO it would be useful for actionlint to check whether there is an explicit
shell
set for any step which usesrun
, so that the language for the script is known.The text was updated successfully, but these errors were encountered: