Skip to content

Commit 56cd0c3

Browse files
committed
chore: added github action for commitlint
1 parent c9c3995 commit 56cd0c3

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/commitlint.yml

+15-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
1-
- name: Commit Linter
2-
uses: wagoid/[email protected]
1+
name: Commitlint
2+
on: [push, pull_request]
3+
4+
jobs:
5+
commit-lint:
6+
runs-on: ubuntu-latest
7+
env:
8+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9+
steps:
10+
- uses: actions/checkout@v2
11+
with:
12+
fetch-depth: 0
13+
- uses: wagoid/[email protected]
14+
with:
15+
configFile: './.commitlintrc.yml'

0 commit comments

Comments
 (0)