From 162b177e005c5b3f92763e38eb545838a5c2d4ca Mon Sep 17 00:00:00 2001 From: "guillaume.lambert" Date: Mon, 31 Jan 2022 21:30:22 +0100 Subject: [PATCH] Add a manual stage to pre-commit hook config Relates to #191 --- .pre-commit-hooks.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index f2ccc7f4..9696e292 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -5,3 +5,11 @@ entry: gitlint args: [--staged, --msg-filename] stages: [commit-msg] +- id: gitlint-ci + name: gitlint + language: python + additional_dependencies: ["./gitlint-core[trusted-deps]"] + entry: gitlint + always_run: true + pass_filenames: false + stages: [manual]