Skip to content

Commit 11ed0d4

Browse files
authored
ci: add commitlint CI (#487)
1 parent d663f66 commit 11ed0d4

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.commitlintrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"@commitlint/config-angular"
4+
]
5+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Lint Commit Messages
2+
on:
3+
- pull_request
4+
- push
5+
6+
permissions:
7+
contents: read
8+
pull-requests: read
9+
10+
jobs:
11+
commitlint:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: wagoid/commitlint-github-action@v6

0 commit comments

Comments
 (0)