Skip to content

Commit 24d169d

Browse files
committed
action: update commitlint version
fix Check for signed-off-by doesn't ignore comments wagoid/commitlint-github-action#187. Signed-off-by: Nitin Goyal <[email protected]>
1 parent 588e33a commit 24d169d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/commitlint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fetch-depth: 0
1717

1818
- name: run commitlint
19-
uses: wagoid/commitlint-github-action@v3
19+
uses: wagoid/commitlint-github-action@v4
2020
with:
2121
configFile: './.github/workflows/conf/commitlintrc.json'
2222
helpURL: |

.github/workflows/conf/commitlintrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@
5858
2,
5959
"never"
6060
],
61+
"trailer-exists": [
62+
2,
63+
"always",
64+
"Signed-off-by:"
65+
],
6166
"type-case": [
6267
0,
6368
"always",

0 commit comments

Comments
 (0)