mirror of
https://github.com/ovh/debian-cis.git
synced 2025-07-01 06:49:47 +02:00

* chore: make linter happy for existing code * fix: add missing test 2.1.2_disable_bsd_intetd.sh * feat: add basic pre commit Ensure a check has a corresponding test --------- Co-authored-by: Damien Cavagnini <damien.cavagnini@corp.ovh.com>
11 lines
280 B
YAML
11 lines
280 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: check_has_test
|
|
name: check_has_test.sh
|
|
description: Ensure a check has a corresponding test
|
|
entry: hooks/check_has_test.sh
|
|
language: script
|
|
pass_filenames: true
|
|
files: "^bin/hardening/"
|