We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ebe0f8 commit 1da4c44Copy full SHA for 1da4c44
.github/workflows/enforce_conventional_commits.yml
@@ -0,0 +1,28 @@
1
+---
2
+name: Conventional Commits
3
+
4
+permissions:
5
+ contents: read
6
7
+on:
8
+ pull_request:
9
+ branches:
10
+ - master
11
12
+jobs:
13
+ commit-lint:
14
+ name: Verify Conventional Commits
15
16
+ # Skip this job if this is a release PR
17
+ if: (github.event_name == 'pull_request' && !startsWith(github.event.pull_request.head.ref, 'release-please--'))
18
19
+ runs-on: ubuntu-latest
20
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@v4
24
+ with: { fetch-depth: 0 }
25
26
+ - name: Check Commit Messages
27
+ uses: wagoid/commitlint-github-action@v6
28
+ with: { configFile: .commitlintrc.yml }
0 commit comments