Skip to content

build: auto-install Husky.NET git hooks on build#11

Merged
ChrisonSimtian merged 1 commit into
mainfrom
chore/husky-autoinstall
Jun 29, 2026
Merged

build: auto-install Husky.NET git hooks on build#11
ChrisonSimtian merged 1 commit into
mainfrom
chore/husky-autoinstall

Conversation

@ChrisonSimtian

Copy link
Copy Markdown
Collaborator

Hands-off activation for the pre-push guard: installs the hook on local build (skipped in CI, never fails the build). Pairs with the .husky/ committed earlier.

…gets)

Makes the pre-push guard hands-off — the hook installs on local build (skipped
in CI, never fails the build). Pairs with the .husky/ committed earlier.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisonSimtian
ChrisonSimtian merged commit 47785df into main Jun 29, 2026
@ChrisonSimtian
ChrisonSimtian deleted the chore/husky-autoinstall branch June 29, 2026 01:47
ChrisonSimtian added a commit that referenced this pull request Jun 30, 2026
The husky-autoinstall change (#11) overwrote .config/dotnet-tools.json with only
husky, dropping the microsoft.openapi.kiota entry. But UnifiSharp.Api's build
runs `dotnet kiota generate` (Generated/ is gitignored), so every CI build since
has failed with "dotnet-kiota does not exist" (MSB3073) — main red since
2026-06-29. Re-pin kiota 1.31.1 (the version that was there) alongside husky.

Verified: full clean (rm obj/bin/Generated) → dotnet tool restore → build -c
Release regenerates the client and compiles; tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ChrisonSimtian added a commit that referenced this pull request Jun 30, 2026
The husky-autoinstall change (#11) overwrote .config/dotnet-tools.json with only
husky, dropping the microsoft.openapi.kiota entry. But UnifiSharp.Api's build
runs `dotnet kiota generate` (Generated/ is gitignored), so every CI build since
has failed with "dotnet-kiota does not exist" (MSB3073) — main red since
2026-06-29. Re-pin kiota 1.31.1 (the version that was there) alongside husky.

Verified: full clean (rm obj/bin/Generated) → dotnet tool restore → build -c
Release regenerates the client and compiles; tests pass.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant