Skip to content

Commit 67fc97b

Browse files
committed
fix(ci): bypass commitlint validation for semantic-release commits
- Add gitArgs: ["--no-verify"] to @semantic-release/git plugin - This prevents commitlint from blocking release commits with long changelog URLs - Update both package.json and .releaserc.local.json configurations
1 parent cb2f92b commit 67fc97b

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.releaserc.local.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"@semantic-release/git",
2121
{
2222
"assets": ["CHANGELOG.md", "package.json"],
23-
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
23+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
24+
"gitArgs": ["--no-verify"]
2425
}
2526
]
2627
]

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@
9898
"CHANGELOG.md",
9999
"package.json"
100100
],
101-
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
101+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
102+
"gitArgs": [
103+
"--no-verify"
104+
]
102105
}
103106
],
104107
"@semantic-release/npm",

0 commit comments

Comments
 (0)