Use go-shellcheck instead of local one for pre-commit#679
Conversation
No need to install ShellCheck locally. Signed-off-by: Souma <git@5ouma.me>
It will use ShellCheck for better audition. Signed-off-by: Souma <git@5ouma.me>
There was a problem hiding this comment.
Pull request overview
This PR modernizes the pre-commit configuration by replacing the need for a local ShellCheck installation with the Go-based go-shellcheck implementation from wasilibs. This change makes the setup more portable and easier to maintain since Go dependencies can be automatically managed by pre-commit.
Changes:
- Added go-shellcheck as an additional dependency to the actionlint hook to enable shell script linting in GitHub Actions workflows
- Replaced the remote pre-commit-shell repository with a local go-shellcheck-based hook configuration
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
WalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
No need to install ShellCheck locally.