File tree 2 files changed +6
-6
lines changed
template/[% if repo_platform == 'github' %].github[% endif %]/workflows
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ concurrency:
4
4
group : ${{ github.workflow }}-${{ github.ref }}
5
5
jobs :
6
6
commitlint :
7
+ container :
8
+ image : commitlint/commitlint:19.3.0@sha256:54438df1d11ac1a7ad0e7b794e24f3e78d5490ec5303c2066fd93e53cf70d0fe
7
9
runs-on : ubuntu-22.04
8
10
steps :
9
- - uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
10
11
- run : env | sort
11
- - name : Install commitlint with conventional config
12
- run : npm install --save-dev @commitlint/config-conventional @commitlint/cli
12
+ - uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
13
13
- name : Validate the latest commit message with commitlint
14
14
if : github.event_name == 'push'
15
15
run : echo "${{ github.event.head_commit.message }}" | npx commitlint
Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ concurrency:
4
4
group : ${{ github.workflow }}-${{ github.ref }}
5
5
jobs :
6
6
commitlint :
7
+ container :
8
+ image : commitlint/commitlint:19.3.0@sha256:54438df1d11ac1a7ad0e7b794e24f3e78d5490ec5303c2066fd93e53cf70d0fe
7
9
runs-on : ubuntu-22.04
8
10
steps :
9
- - uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
10
11
- run : env | sort
11
- - name : Install commitlint with conventional config
12
- run : npm install --save-dev @commitlint/config-conventional @commitlint/cli
12
+ - uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
13
13
- name : Validate the latest commit message with commitlint
14
14
if : github.event_name == 'push'
15
15
run : echo "${{ github.event.head_commit.message }}" | npx commitlint
You can’t perform that action at this time.
0 commit comments