Skip to content

Commit 361e7cb

Browse files
committed
Added a workflow to ensure that pull-requests have conventional-commits
1 parent c332033 commit 361e7cb

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/commitlint.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Commits
2+
3+
on: pull_request
4+
5+
permissions:
6+
contents: read
7+
pull-requests: read
8+
9+
jobs:
10+
lint-commits:
11+
runs-on: ubuntu-latest
12+
name: Validate Commits
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Inspect Commits
19+
uses: wagoid/commitlint-github-action@v6

0 commit comments

Comments
 (0)