Skip to content

Commit 62e5515

Browse files
authored
ci: conventional commits (#25)
1 parent 25af63c commit 62e5515

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/lint-commit.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Lint Commit
2+
on:
3+
pull_request_target:
4+
types:
5+
- opened
6+
- reopened
7+
- synchronize
8+
- edited
9+
10+
jobs:
11+
commitlint:
12+
runs-on: ubuntu-latest
13+
name: commitlint
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: amannn/action-semantic-pull-request@v5
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
with:
21+
subjectPattern: ^(?![A-Z]).+$
22+

0 commit comments

Comments
 (0)