Skip to content

Commit b5ec5b8

Browse files
committed
fix: claude says this is how we fix the PR title lint issue
1 parent e301fc1 commit b5ec5b8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/conventional-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v6
1111
- name: Install Dependencies
12-
run: npm install @commitlint/config-conventional
12+
run: npm install @commitlint/config-conventional@latest @commitlint/cli@latest
1313
- uses: JulienKode/pull-request-name-linter-action@v19.0.0

commitlint.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
export default { extends: ['@commitlint/config-conventional'] }
1+
export default {
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
// Allow breaking changes with ! instead of requiring BREAKING CHANGE: footer
5+
'footer-max-line-length': [0],
6+
},
7+
}

0 commit comments

Comments
 (0)