Open mislav opened 1 week ago
[!NOTE]
Reviews paused
Use the following commands to manage reviews:
@coderabbitai resume
to resume automatic reviews.@coderabbitai review
to trigger a single review.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Update: pushed a commit that fixes/allowlists all the shellcheck violations in scripts that are now newly included in the linting process.
Note that I'm ignoring most of Coderabbit suggestions because it doesn't understand that I'm merely trying to make CI pass with minimum impact to the codebase. Sure, its suggestions are legitimate, but even such an innocuous change as adding double quotes around an argument passed to a command can have negative consequences if the previous code relied (intentionally or accidentally) on word-splitting, for example. Because I'd rather avoid making code changes across dozens of scripts in this repository, I've opted to pepper # shellcheck disable
directives throughout.
@coderabbitai resolve
This PR doesn't try to fix shellcheck issues, it tries to enable along with minimal fixes.
@coderabbitai pause
@agners: Understood, I will resolve the comments and pause the automatic reviews for this PR.
Many scripts in this repository have this shebang:
However, this doesn't match the shebang regex in
action-shellcheck
and therefore those files wouldn't get included in the linting check.Supersedes https://github.com/home-assistant/addons/pull/3803 /cc @agners
This is the only mechanism to include additional scripts in the linting process. I'm not a fan of this approach, since new scripts with unique names added to this repository again won't be linted by default, but it's a start to ensure regressions like https://github.com/home-assistant/addons/issues/3801 are less likely to happen.
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Documentation
Chores