File tree 23 files changed +190
-17
lines changed
23 files changed +190
-17
lines changed Original file line number Diff line number Diff line change
1
+ name : container build
2
+ on :
3
+ push :
4
+ tags :
5
+ - ' **'
6
+ branches :
7
+ - ' **'
8
+ - ' !master'
9
+ schedule :
10
+ - cron : ' 0 0 * * *'
11
+ jobs :
12
+ container-build :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : checkout
16
+ uses : actions/checkout@v3
17
+ - name : Set up QEMU
18
+ uses : docker/setup-qemu-action@v3
19
+ - name : Set up Docker Buildx
20
+ uses : docker/setup-buildx-action@v2
21
+ - name : Log into registry
22
+ uses : docker/login-action@v3
23
+ with :
24
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
25
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
26
+ - name : Docker meta
27
+ id : meta
28
+ uses : docker/metadata-action@v5
29
+ with :
30
+ images : commitlint/commitlint
31
+ tags : |
32
+ type=semver,pattern={{version}}
33
+ type=edge,branch=master
34
+ type=ref,event=branch
35
+ type=sha,prefix=,format=short
36
+ - name : Build and push container image
37
+ uses : docker/build-push-action@v5
38
+ with :
39
+ context : .
40
+ file : Dockerfile.ci
41
+ push : true
42
+ tags : ${{ steps.meta.outputs.tags }}
43
+ labels : ${{ steps.meta.outputs.labels }}
44
+ # disable arm build for now, because of https://github.com/nodejs/docker-node/issues/1335
45
+ platforms : linux/amd64 # ,linux/arm64
Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file.
4
4
See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
5
5
6
+ ## [ 17.7.2] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2 ) (2023-09-28)
7
+
8
+ ** Note:** Version bump only for package commitlint
9
+
10
+
11
+
12
+
13
+
6
14
## [ 17.7.1] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.0...v17.7.1 ) (2023-08-10)
7
15
8
16
** Note:** Version bump only for package commitlint
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " commitlint" ,
3
- "version" : " 17.7.1 " ,
3
+ "version" : " 17.7.2 " ,
4
4
"description" : " Lint your commit messages" ,
5
5
"files" : [
6
6
" cli.js"
35
35
},
36
36
"license" : " MIT" ,
37
37
"dependencies" : {
38
- "@commitlint/cli" : " ^17.7.1 " ,
38
+ "@commitlint/cli" : " ^17.7.2 " ,
39
39
"@commitlint/types" : " ^17.4.4"
40
40
},
41
41
"devDependencies" : {
Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file.
4
4
See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
5
5
6
+ ## [ 17.7.2] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2 ) (2023-09-28)
7
+
8
+ ** Note:** Version bump only for package @commitlint/cli
9
+
10
+
11
+
12
+
13
+
6
14
## [ 17.7.1] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.0...v17.7.1 ) (2023-08-10)
7
15
8
16
** Note:** Version bump only for package @commitlint/cli
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @commitlint/cli" ,
3
- "version" : " 17.7.1 " ,
3
+ "version" : " 17.7.2 " ,
4
4
"description" : " Lint your commit messages" ,
5
5
"files" : [
6
6
" index.js" ,
49
49
"dependencies" : {
50
50
"@commitlint/format" : " ^17.4.4" ,
51
51
"@commitlint/lint" : " ^17.7.0" ,
52
- "@commitlint/load" : " ^17.7.1 " ,
52
+ "@commitlint/load" : " ^17.7.2 " ,
53
53
"@commitlint/read" : " ^17.5.1" ,
54
54
"@commitlint/types" : " ^17.4.4" ,
55
55
"execa" : " ^5.0.0" ,
Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file.
4
4
See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
5
5
6
+ ## [ 17.7.2] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2 ) (2023-09-28)
7
+
8
+ ** Note:** Version bump only for package @commitlint/core
9
+
10
+
11
+
12
+
13
+
6
14
## [ 17.7.1] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.0...v17.7.1 ) (2023-08-10)
7
15
8
16
** Note:** Version bump only for package @commitlint/core
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @commitlint/core" ,
3
- "version" : " 17.7.1 " ,
3
+ "version" : " 17.7.2 " ,
4
4
"description" : " Lint your commit messages" ,
5
5
"main" : " lib/core.js" ,
6
6
"types" : " lib/core.d.ts" ,
37
37
"dependencies" : {
38
38
"@commitlint/format" : " ^17.4.4" ,
39
39
"@commitlint/lint" : " ^17.7.0" ,
40
- "@commitlint/load" : " ^17.7.1 " ,
40
+ "@commitlint/load" : " ^17.7.2 " ,
41
41
"@commitlint/read" : " ^17.5.1"
42
42
},
43
43
"devDependencies" : {
Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file.
4
4
See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
5
5
6
+ ## [ 17.7.2] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2 ) (2023-09-28)
7
+
8
+ ** Note:** Version bump only for package @commitlint/cz-commitlint
9
+
10
+
11
+
12
+
13
+
6
14
## [ 17.7.1] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.0...v17.7.1 ) (2023-08-10)
7
15
8
16
** Note:** Version bump only for package @commitlint/cz-commitlint
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @commitlint/cz-commitlint" ,
3
- "version" : " 17.7.1 " ,
3
+ "version" : " 17.7.2 " ,
4
4
"description" : " Commitizen adapter using the commitlint.config.js" ,
5
5
"main" : " ./lib/index.js" ,
6
6
"files" : [
38
38
},
39
39
"dependencies" : {
40
40
"@commitlint/ensure" : " ^17.6.7" ,
41
- "@commitlint/load" : " ^17.7.1 " ,
41
+ "@commitlint/load" : " ^17.7.2 " ,
42
42
"@commitlint/types" : " ^17.4.4" ,
43
43
"chalk" : " ^4.1.0" ,
44
44
"lodash.isplainobject" : " ^4.0.6" ,
Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file.
4
4
See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
5
5
6
+ ## [ 17.7.2] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2 ) (2023-09-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update dependency @types/node to v20.5.1 ([ #3653 ] ( https://github.com/conventional-changelog/commitlint/issues/3653 ) ) ([ cd8b775] ( https://github.com/conventional-changelog/commitlint/commit/cd8b7750d3a15fbfd96e20196d53df064df6e138 ) )
12
+
13
+
14
+
15
+
16
+
6
17
## [ 17.7.1] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.0...v17.7.1 ) (2023-08-10)
7
18
8
19
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @commitlint/load" ,
3
- "version" : " 17.7.1 " ,
3
+ "version" : " 17.7.2 " ,
4
4
"description" : " Load shared commitlint configuration" ,
5
5
"main" : " lib/load.js" ,
6
6
"types" : " lib/load.d.ts" ,
Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file.
4
4
See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
5
5
6
+ ## [ 17.7.2] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2 ) (2023-09-28)
7
+
8
+ ** Note:** Version bump only for package @commitlint/prompt-cli
9
+
10
+
11
+
12
+
13
+
6
14
## [ 17.7.1] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.0...v17.7.1 ) (2023-08-10)
7
15
8
16
** Note:** Version bump only for package @commitlint/prompt-cli
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @commitlint/prompt-cli" ,
3
- "version" : " 17.7.1 " ,
3
+ "version" : " 17.7.2 " ,
4
4
"description" : " commit prompt using commitlint.config.js" ,
5
5
"files" : [
6
6
" cli.js"
36
36
"@commitlint/utils" : " ^17.4.0"
37
37
},
38
38
"dependencies" : {
39
- "@commitlint/prompt" : " ^17.7.1 " ,
39
+ "@commitlint/prompt" : " ^17.7.2 " ,
40
40
"execa" : " ^5.0.0" ,
41
41
"inquirer" : " ^6.5.2"
42
42
},
Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file.
4
4
See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
5
5
6
+ ## [ 17.7.2] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2 ) (2023-09-28)
7
+
8
+ ** Note:** Version bump only for package @commitlint/prompt
9
+
10
+
11
+
12
+
13
+
6
14
## [ 17.7.1] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.0...v17.7.1 ) (2023-08-10)
7
15
8
16
** Note:** Version bump only for package @commitlint/prompt
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @commitlint/prompt" ,
3
- "version" : " 17.7.1 " ,
3
+ "version" : " 17.7.2 " ,
4
4
"description" : " commitizen prompt using commitlint.config.js" ,
5
5
"main" : " ./lib/index.js" ,
6
6
"files" : [
46
46
},
47
47
"dependencies" : {
48
48
"@commitlint/ensure" : " ^17.6.7" ,
49
- "@commitlint/load" : " ^17.7.1 " ,
49
+ "@commitlint/load" : " ^17.7.2 " ,
50
50
"@commitlint/types" : " ^17.4.4" ,
51
51
"chalk" : " ^4.1.0" ,
52
52
"inquirer" : " ^6.5.2"
Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file.
4
4
See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
5
5
6
+ ## [ 17.7.2] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2 ) (2023-09-28)
7
+
8
+ ** Note:** Version bump only for package @commitlint/travis-cli
9
+
10
+
11
+
12
+
13
+
6
14
## [ 17.7.1] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.0...v17.7.1 ) (2023-08-10)
7
15
8
16
** Note:** Version bump only for package @commitlint/travis-cli
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @commitlint/travis-cli" ,
3
- "version" : " 17.7.1 " ,
3
+ "version" : " 17.7.2 " ,
4
4
"description" : " Lint all relevant commits for a change or PR on Travis CI" ,
5
5
"files" : [
6
6
" lib/" ,
40
40
"@commitlint/utils" : " ^17.4.0"
41
41
},
42
42
"dependencies" : {
43
- "@commitlint/cli" : " ^17.7.1 " ,
43
+ "@commitlint/cli" : " ^17.7.2 " ,
44
44
"execa" : " ^5.0.0"
45
45
},
46
46
"gitHead" : " 70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"
Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file.
4
4
See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
5
5
6
+ ## [ 17.7.2] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2 ) (2023-09-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update dependency @types/node to v20.5.1 ([ #3653 ] ( https://github.com/conventional-changelog/commitlint/issues/3653 ) ) ([ cd8b775] ( https://github.com/conventional-changelog/commitlint/commit/cd8b7750d3a15fbfd96e20196d53df064df6e138 ) )
12
+
13
+
14
+
15
+
16
+
6
17
## [ 17.7.1] ( https://github.com/conventional-changelog/commitlint/compare/v17.7.0...v17.7.1 ) (2023-08-10)
7
18
8
19
Original file line number Diff line number Diff line change
1
+ FROM docker.io/library/node:18-buster AS builder
2
+ WORKDIR /src
3
+ COPY . ./
4
+ RUN yarn install && \
5
+ yarn run build && \
6
+ # Commit lint CLI packages
7
+ npm pack @commitlint/cli && \
8
+ npm pack @commitlint/config-validator && \
9
+ npm pack @commitlint/ensure && \
10
+ npm pack @commitlint/execute-rule && \
11
+ npm pack @commitlint/format && \
12
+ npm pack @commitlint/is-ignored && \
13
+ npm pack @commitlint/lint && \
14
+ npm pack @commitlint/load && \
15
+ npm pack @commitlint/message && \
16
+ npm pack @commitlint/parse && \
17
+ npm pack @commitlint/read && \
18
+ npm pack @commitlint/resolve-extends && \
19
+ npm pack @commitlint/rules && \
20
+ npm pack @commitlint/to-lines && \
21
+ npm pack @commitlint/top-level && \
22
+ npm pack @commitlint/types && \
23
+ # Default commitlint config
24
+ npm pack @commitlint/config-conventional
25
+
26
+ FROM docker.io/library/node:18-buster
27
+ COPY --from=builder /src/*.tgz ./
28
+ RUN npm install -g *.tgz && \
29
+ rm -rf *.tgz
30
+ ENTRYPOINT ["commitlint"]
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
version : ' 3'
2
2
services :
3
3
commitlint :
4
- build : .
4
+ build :
5
+ context : .
6
+ dockerfile : Dockerfile.dev
5
7
image : marionebl/commitlint-cubicle
6
8
ports :
7
9
- ' 8443:8443'
Original file line number Diff line number Diff line change @@ -121,12 +121,30 @@ workflows:
121
121
## GitLab CI
122
122
123
123
` ` ` yaml
124
+ stages : ["lint","build","test"]
124
125
lint:commit :
126
+ image : registry.hub.docker.com/library/node:alpine
125
127
stage : lint
128
+ before_script :
129
+ - apk add --no-cache git
130
+ - npm install --save-dev @commitlint/config-conventional @commitlint/cli
126
131
script :
127
132
- echo "${CI_COMMIT_MESSAGE}" | npx commitlint
128
133
` ` `
129
134
135
+ ## GitLab CI with pre-build container
136
+
137
+ ` ` ` yaml
138
+ stages : ["lint","build","test"]
139
+ lint:commit :
140
+ image :
141
+ name : registry.hub.docker.com/commitlint/commitlint:latest
142
+ entrypoint : [""]
143
+ stage : lint
144
+ script :
145
+ - echo "${CI_COMMIT_MESSAGE}" | commitlint
146
+ ` ` `
147
+
130
148
### 3rd party integrations
131
149
132
150
#### [Codemagic](https://codemagic.io/)
Original file line number Diff line number Diff line change 2
2
"lerna" : " 4" ,
3
3
"npmClient" : " yarn" ,
4
4
"useWorkspaces" : true ,
5
- "version" : " 17.7.1 "
5
+ "version" : " 17.7.2 "
6
6
}
You can’t perform that action at this time.
0 commit comments