diff --git a/.gitlint b/.gitlint index 96cf3ed8..7cf8a703 100644 --- a/.gitlint +++ b/.gitlint @@ -1,6 +1,6 @@ [general] -fail-without-commits=true -regex-style-search=true +fail-without-commits=True +regex-style-search=True contrib=CC1 [title-match-regex] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2e9744f5..b79cc1e7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,6 +7,7 @@ repos: hooks: - id: gitlint stages: [commit-msg] + - id: gitlint-ci - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 diff --git a/.woodpecker/pre-commit.yml b/.woodpecker/pre-commit.yml index debe0cba..23159404 100644 --- a/.woodpecker/pre-commit.yml +++ b/.woodpecker/pre-commit.yml @@ -8,7 +8,7 @@ pipeline: image: git.frostfs.info/truecloudlab/frostfs-ci:v0.36 commands: - export HOME="$(getent passwd $(id -u) | cut '-d:' -f6)" - - pre-commit run + - pre-commit run --hook-stage manual unit: image: git.frostfs.info/truecloudlab/frostfs-ci:v0.36