Commit Graph

3 Commits

Author SHA1 Message Date
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
Mike Degatano
a7f1232657 Ensure all addons have init: false (#2549)
* Ensure all addons have init: false

* Ensure environment passed to run script
2022-06-23 19:46:23 -04:00
Franck Nijhof
058df9b0f2 tellstick: Collection of small improvements (#916)
* tellstick: Move data run to data folder

* tellstick: Prettier JSON & YAML files

* tellstick: Documentation tweaks
2019-12-19 13:15:06 +01:00