ludeeus / action-shellcheck

GitHub action for ShellCheck.
MIT License
292 stars 69 forks source link

Enable shellcheck for shebang with /bin/env #22

Closed soraxas closed 4 years ago

soraxas commented 4 years ago

The grep in the runaction was incomplete and doesn't work for my shebag that uses env, i.e. I had

#!/usr/bin/env sh
...

This simple PR adds an optional capture group for shebang with pattern /../../env SHELL.