Skip to content

Commit 7e1ae77

Browse files
committed
chore: validate conventional commits
1 parent c185d4a commit 7e1ae77

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

.commitlintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"]
3+
}

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,20 @@ concurrency:
2424

2525
jobs:
2626

27+
# Validate Conventional Commits
28+
validateCommits:
29+
name: Validate Commits
30+
runs-on: ubuntu-latest
31+
steps:
32+
33+
# Check out the current repository
34+
- name: Fetch Sources
35+
uses: actions/checkout@v6
36+
37+
# Validate Conventional Commits
38+
- name: Validate Conventional Commits
39+
uses: wagoid/commitlint-github-action@v5
40+
2741
# Prepare the environment and build the plugin
2842
build:
2943
name: Build

0 commit comments

Comments
 (0)