Skip to content

Commit 0a83f5c

Browse files
authored
ci: set up commit lint (#31)
1 parent 94b830a commit 0a83f5c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/commitlint.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Lint Commit Messages
3+
on: [pull_request]
4+
5+
jobs:
6+
commitlint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
with:
11+
fetch-depth: 0
12+
- uses: wagoid/commitlint-github-action@v4

0 commit comments

Comments
 (0)