diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..86ef4e1f --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,8 @@ +repos: +- repo: local + hooks: + - id: my-check + name: 'My Custom Check' + entry: ./script.sh + language: script + diff --git a/script.sh b/script.sh new file mode 100755 index 00000000..90ed60b2 --- /dev/null +++ b/script.sh @@ -0,0 +1,3 @@ +#!/bin/bash +echo "All checks passed" +