-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Description
actionlint only accepts bash, pwsh, python, and sh as valid shell names, but GitHub lets you use any executable on $PATH as a shell.
.github/workflows/example.yml:58:16: shell name "nix develop" is invalid. available names are "bash", "pwsh", "python", "sh" [shell-name]
|
58 | shell: nix develop
| ^~~
Perhaps there should be an additional configurable allowlist for shell names, like the self-hosted-runner.labels key.
See: "TIL: Any program can be a GitHub Actions shell" by William Woodruff
Metadata
Metadata
Assignees
Labels
No labels