Skip to content

Commit 302cabe

Browse files
committed
fix(ci): disable husky git hooks in semantic-release workflow
- Set HUSKY=0 environment variable to disable git hooks in CI - Prevents commitlint from blocking semantic-release commits - Semantic-release commit messages can contain long URLs in changelog This fixes the 'body's lines must not be longer than 100 characters' error that was preventing semantic-release from creating release commits.
1 parent f4022cd commit 302cabe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
id: semantic
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
HUSKY: 0
3940
run: |
4041
# Get current tags
4142
BEFORE_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "none")

0 commit comments

Comments
 (0)