pre-commit hooks for ContainerHive.
See also: https://pre-commit.com
Add this to your .pre-commit-config.yaml:
- repo: https://github.com/containerhive/pre-commit.git
rev: main # Use the ref you want to point at
hooks:
- id: runRun an arbitrary ContainerHive command. Use the args key to pass any
subcommand and arguments to ch. This hook has no default subcommand.
Examples:
- repo: https://github.com/containerhive/pre-commit.git
rev: main # Use the ref you want to point at
hooks:
# Run ch verify
- id: run
args: [verify]