Skip to content

Conversation

@punkbit
Copy link
Collaborator

@punkbit punkbit commented Jan 22, 2026

Why?

Pre-commit should not run in CI/CD environments.
Prevent pre-commit hook triggering in CI environments, or whenever HUSKY's environment set 0.

How?

  • Set HUSKY=0 at workflow level
  • Add safe-guard at script level when CI set

Preview?

N/A

@changeset-bot
Copy link

changeset-bot bot commented Jan 22, 2026

⚠️ No Changeset found

Latest commit: 48523da

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Jan 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
click-ui Ready Ready Preview, Comment Jan 22, 2026 4:55pm

Request Review

@punkbit punkbit merged commit a1badb9 into main Jan 22, 2026
7 checks passed
@punkbit punkbit deleted the chore/prevent-pre-commit-run-on-ci branch January 22, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants