Skip to content

Commit 8298a71

Browse files
feat: conventional commits static analysis
Use linting to ensure proper commit messages. This will use the default config out of the box, and we can add more if we feel the need.
1 parent b569634 commit 8298a71

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Static Analysis"
2+
on:
3+
push:
4+
branches: [master]
5+
pull_request:
6+
types: [opened, synchronize, reopened, ready_for_review]
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
conventional-commits:
13+
name: Check conventional commits
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: wagoid/commitlint-github-action@v6
18+

0 commit comments

Comments
 (0)