Skip to content

Commit 07e30e2

Browse files
synaretemergify[bot]
authored andcommitted
workflows: check commit message with gitlint
Execute the gitlint check as part of normal CI workflow. Signed-off-by: Shachar Sharon <[email protected]>
1 parent 6a8c254 commit 07e30e2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/main.yml

+11
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ on:
77
pull_request:
88
branches: [master]
99
jobs:
10+
# Require valid commit
11+
gitlint:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
17+
- name: Intall gitlint
18+
run: sudo apt-get install -y gitlint
19+
- name: Lint git commit message
20+
run: make check-gitlint
1021
# Do a build/compile smoke test
1122
build:
1223
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)