Skip to content

Commit c9a1eea

Browse files
committed
fix: disable Husky Git hooks in certain CI workflows to prevent local development hooks from running
1 parent 09a1e5a commit c9a1eea

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/deploy-site.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Workflow for deploying versioned documentation to GitHub Pages
22
name: Deploy Documentation
33

4+
env:
5+
# Disable Husky Git hooks in CI to prevent local development hooks
6+
# (e.g., pre-commit formatting checks) from running during automated
7+
# workflows that perform git commits and pushes.
8+
HUSKY: 0
9+
410
on:
511
# Runs after Build & Test succeeds on main (publishes to /snapshot/)
612
workflow_run:

.github/workflows/publish-maven.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Publish to Maven Central
22

33
env:
4+
# Disable Husky Git hooks in CI to prevent local development hooks
5+
# (e.g., pre-commit formatting checks) from running during automated
6+
# workflows that perform git commits and pushes.
47
HUSKY: 0
58

69
on:

0 commit comments

Comments
 (0)