Skip to content

Commit 2984394

Browse files
committed
fix: bump commitlint and allow caps
1 parent 1013cb5 commit 2984394

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
23-
- uses: wagoid/commitlint-github-action@v5.4.5
23+
- uses: wagoid/commitlint-github-action@v6.2.0
2424
lint:
2525
runs-on: ubuntu-latest
2626
steps:

commitlint.config.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

commitlint.config.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
extends: ["@commitlint/config-conventional"],
3+
ignores: [(msg) => /Signed-off-by: dependabot\[bot]/m.test(msg)],
4+
rules: {
5+
// Disable the rule that enforces lowercase in subject
6+
"subject-case": [0], // 0 = disable, 1 = warn, 2 = error
7+
},
8+
9+
};

0 commit comments

Comments
 (0)