File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -73,12 +73,21 @@ repos:
73
73
hooks :
74
74
- id : actionlint-system
75
75
stages : [commit]
76
- - repo : https://github.com/jorisroovers/gitlint
77
- rev : v0.19.1
76
+ - repo : local
78
77
hooks :
79
- - id : gitlint
80
- - id : gitlint-ci
81
- args : ["--commits", "origin/main..HEAD"]
78
+ - id : gitlint-ci
79
+ name : gitlint
80
+ language : python
81
+ additional_dependencies :
82
+ - " gitlint-core >= 0.19.1"
83
+ entry : gitlint
84
+ args : ["--commits", "origin/main..HEAD"]
85
+ # - repo: https://github.com/jorisroovers/gitlint
86
+ # rev: v0.19.1
87
+ # hooks:
88
+ # - id: gitlint
89
+ # - id: gitlint-ci
90
+ # args: ["--commits", "origin/main..HEAD"]
82
91
- repo : https://github.com/jumanjihouse/pre-commit-hooks
83
92
rev : 3.0.0
84
93
hooks :
Original file line number Diff line number Diff line change @@ -13,6 +13,6 @@ pre-commit: ; $(info $(M) running pre-commit)
13
13
ifeq ($(wildcard $(PRE_COMMIT_CONFIG_FILE ) ) ,)
14
14
$(error Cannot find pre-commit config file $(PRE_COMMIT_CONFIG_FILE). Specify the config file via PRE_COMMIT_CONFIG_FILE variable)
15
15
endif
16
- env SKIP=$(SKIP) pre-commit run -a --show-diff-on-failure --config $(PRE_COMMIT_CONFIG_FILE)
16
+ # env SKIP=$(SKIP) pre-commit run -a --show-diff-on-failure --config $(PRE_COMMIT_CONFIG_FILE)
17
17
git fetch origin main
18
18
pre-commit run --hook-stage manual gitlint-ci
You can’t perform that action at this time.
0 commit comments