Skip to content

Default shell not being detected - currently treats all run on Linux as shell #409

@ElvenSpellmaker

Description

@ElvenSpellmaker

When using a default shell:

defaults:
  run:
    shell: pwsh

It's not being detected and actionlint is calling shellcheck on all runs without an explicit shell.

Ideally this would be taken into account and all run would use the default shell defined.

We use pwsh on Linux (as pwsh is cross-OS and a better scripting language than bash) so #315 isn't a solution of just branching workflows.

Relevant Issues: #315

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions