Files
Mislav Marohnić 2425ab8a94 Lint bash scripts with custom shebangs (#3824)
* Lint bash scripts with custom shebangs

Many scripts in this repository have this shebang:

    #!/usr/bin/with-contenv bashio

However, this doesn't match the shebang regex in action-shellcheck
and therefore those files wouldn't get included in the linting check.

* Fix or ignore current shellcheck violations

* shellcheck: specify bash shell type for scripts with unrecognized shebangs

* Convert shutdown script from CRLF line endings to LF

* shellcheck: silence remaining violations for now

* Apply suggestions from code review

* mariadb: avoid adding extra newlines

Co-authored-by: Stefan Agner <stefan@agner.ch>

* Fix GitHub syntax highlighting for bash scripts

---------

Co-authored-by: Stefan Agner <stefan@agner.ch>
2024-12-12 18:39:49 +01:00

2.5 KiB
Executable File