devops-actions / actionlint

Action wrapper for `rhysd/actionlint`
MIT License
5 stars 3 forks source link

SHELLCHECK_OPTS is not passed to docker #40

Closed piotrekkr closed 4 months ago

piotrekkr commented 7 months ago

I wrote an issue about enabling use of .shellcheckrc file in actionlint but then I was informed that SHELLCHECK_OPTS should work just fine. Unfortunately this env var is not passed by this action to docker container.

Maybe you could consider adding -e SHELLCHECK_OPTS to docker run or add input parameter to action and pass it as -e SHELLCHECK_OPTS="${{ inputs.shellcheck_opts }}" or something like this?

Thank you :pray:

github-actions[bot] commented 7 months ago

Tagging @rajbos for notifications

rajbos commented 7 months ago

Good one, thanks!

rajbos commented 4 months ago

Fixed by releasing it as v0.1.3. Thanks @piotrekkr !