script

Name of a script to execute. The rules are the same as for scripts

Example

# lefthook.yml

pre-commit:
  jobs:
    - script: linter.sh
      runner: bash
# .lefthook/pre-commit/linter.sh

echo "Everything is OK"