File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ mode : commit
2+ min_length : 3
3+ allowed :
4+ - acls
5+ - adfs
6+ - addons
7+ - apitest
8+ - apikey
9+ - apk
10+ - aspell
11+ - attrs
12+ - auth
13+ - autofill
14+ - aws
15+ - axios
16+ - backend
17+ - backends
18+ - backport
19+ - bmarkovic
20+ - browserslist
21+ - bvue
22+ - caniuse
23+ - casbin
24+ - chmigrate
25+ - cli
26+ - clickhouse
27+ - composable
28+ - conf
29+ - config
30+ - const
31+ - crd
32+ - cronjob
33+ - cve
34+ - cwe
35+ - dapi
36+ - dataplane
37+ - dataplaneapi
38+ - dataplanes
39+ - datepicker
40+ - dereference
41+ - discoverability
42+ - durations
43+ - dns
44+ - dom
45+ - dpapi
46+ - dpapis
47+ - dropdowns
48+ - dsn
49+ - e2e
50+ - entrypoint
51+ - enum
52+ - env
53+ - eol
54+ - escaper
55+ - eslint
56+ - failsafe
57+ - fbt
58+ - formatter
59+ - formatters
60+ - frontend
61+ - frontends
62+ - fullpage
63+ - github
64+ - gitlab
65+ - gokc
66+ - golang
67+ - golangci
68+ - gorm
69+ - goroutines
70+ - govulncheck
71+ - hapee
72+ - haproxy
73+ - healthcheck
74+ - healthz
75+ - hostname
76+ - html
77+ - http
78+ - https
79+ - httpCLF
80+ - ineffassign
81+ - infos
82+ - ipam
83+ - istanbul
84+ - jose
85+ - json
86+ - jsonpath
87+ - jwt
88+ - kasbin
89+ - kpi
90+ - kubebuilder
91+ - kubernetes
92+ - lifecycle
93+ - linter
94+ - linters
95+ - lookups
96+ - lts
97+ - makefile
98+ - maxconn
99+ - mexchanger
100+ - migrator
101+ - minimalistic
102+ - mixin
103+ - mkdir
104+ - multipartsearch
105+ - multiselect
106+ - mutex
107+ - mutexes
108+ - namespace
109+ - namespaces
110+ - oidc
111+ - openapi
112+ - optim
113+ - packagetag
114+ - param
115+ - params
116+ - parallelize
117+ - passthrough
118+ - placholder
119+ - podman
120+ - pre
121+ - quic
122+ - rbac
123+ - readme
124+ - recursivity
125+ - redoc
126+ - reimplement
127+ - releaser
128+ - repo
129+ - repos
130+ - req
131+ - rsync
132+ - ruleset
133+ - rulesets
134+ - saml
135+ - sanitization
136+ - schemas
137+ - scrollbar
138+ - scss
139+ - searchselect
140+ - spammy
141+ - ssl
142+ - sso
143+ - struct
144+ - subnet
145+ - subresource
146+ - subresources
147+ - sudo
148+ - symlinks
149+ - syslog
150+ - textarea
151+ - tcp
152+ - timeseries
153+ - tls
154+ - tooltip
155+ - tsconfig
156+ - typings
157+ - ubuntu
158+ - uniq
159+ - unix
160+ - unmarshalling
161+ - unsub
162+ - uri
163+ - url
164+ - userlist
165+ - userlists
166+ - utils
167+ - vfg
168+ - vite
169+ - vrrp
170+ - vue
171+ - waf
172+ - wafadvanced
173+ - workdir
174+ - yaml
175+ - async
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ lint-commit-msg:
126126 stage : lint
127127 needs : ["build"]
128128 image :
129- name : $CI_REGISTRY_GO/check- commit:v2 .1.0
129+ name : $CI_REGISTRY_GO/commit-check:5 .1.1
130130 entrypoint : [""]
131131 tags :
132132 - go
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ DOCKER_HAPROXY_VERSION?=3.1
33SWAGGER_VERSION =v0.31.0
44GO_VERSION: =${shell go mod edit -json | jq -r .Go}
55GOLANGCI_LINT_VERSION =1.64.5
6+ CHECK_COMMIT =5.1.1
67
78.PHONY : test
89test :
@@ -59,3 +60,8 @@ lint-yaml:
5960gofumpt :
6061 go install mvdan.cc/gofumpt@latest
6162 gofumpt -l -w .
63+
64+ .PHONY : check-commit
65+ check-commit :
66+ cd bin; CHECK_COMMIT=${CHECK_COMMIT} sh check-commit.sh
67+ bin/check-commit
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ V=$( ./check-commit tag)
3+
4+ if echo " $V " | grep -q " v$CHECK_COMMIT " ; then
5+ echo " $V "
6+ else
7+ echo " go install github.com/haproxytech/check-commit/v5@v$CHECK_COMMIT "
8+ GOBIN=$( pwd) go install github.com/haproxytech/check-commit/v5@v$CHECK_COMMIT
9+ fi
You can’t perform that action at this time.
0 commit comments