Skip to content

Commit 6a3e881

Browse files
efoutsclaude
andcommitted
fix: disable Git checks in publish workflow
- Add --no-git-checks flag to avoid detached HEAD issues in CI - Allows publishing from GitHub Actions without branch validation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent ed38155 commit 6a3e881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ jobs:
3636
run: pnpm run lint
3737

3838
- name: Publish to npm
39-
run: pnpm publish --provenance --access public
39+
run: pnpm publish --provenance --access public --no-git-checks
4040
env:
4141
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)