Skip to content

Instantly share code, notes, and snippets.

@kokoye2007
Created November 5, 2024 04:57
Show Gist options
  • Save kokoye2007/6320c3fda679245937251014caddb221 to your computer and use it in GitHub Desktop.
Save kokoye2007/6320c3fda679245937251014caddb221 to your computer and use it in GitHub Desktop.
github actions shellcheck apply
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.7.2.1
# https://github.com/koalaman/shellcheck/issues/2222#issuecomment-840648212
hooks:
- id: shellcheck
name: Check sh files
entry: bash -c 'shellcheck $@ -f diff | patch -p 1' --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment