jbergstroem / hadolint-gh-action

A hadolint linter for github actions that provides code annotations (and more)
MIT License
12 stars 5 forks source link

fix: expand globs in bash prior using it #82

Closed jbergstroem closed 2 years ago

jbergstroem commented 2 years ago

This addresses cases where you pass paths like test/**/Dockerfile to hadolint which expects the shell to expand it for you.

The main problem is that the bash environment needs shopts -s nullglob globstar.

Fixes: https://github.com/jbergstroem/hadolint-gh-action/issues/81 Fixes: https://github.com/jbergstroem/hadolint-gh-action/issues/85