Skip to content

Commit 874415d

Browse files
chore: add commit-lint.yml for commit linting
1 parent 87f9a90 commit 874415d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/commit-lint.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Commit Lint
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
- develop
8+
push:
9+
branches:
10+
- main
11+
- develop
12+
13+
jobs:
14+
commit-lint:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v3
19+
20+
- name: Run Commit Lint
21+
uses: wagoid/commitlint-github-action@v5
22+
with:
23+
configFile: commitlint.config.js

0 commit comments

Comments
 (0)