Skip to content

chore: Add --no-git-checks to pnpm publish for detached HEAD on tag push#140

Merged
erezrokah merged 1 commit intomainfrom
claude/gifted-tharp
Apr 1, 2026
Merged

chore: Add --no-git-checks to pnpm publish for detached HEAD on tag push#140
erezrokah merged 1 commit intomainfrom
claude/gifted-tharp

Conversation

@erezrokah
Copy link
Copy Markdown
Member

@erezrokah erezrokah commented Apr 1, 2026

Summary

  • Fixes npm publish failing with ERR_PNPM_GIT_UNKNOWN_BRANCH because pnpm v10 git checks fail on detached HEAD when triggered by tag push

Test plan

  • Next release tag push should succeed in the publish workflow

Copilot AI review requested due to automatic review settings April 1, 2026 09:13
@erezrokah erezrokah changed the title fix: Add --no-git-checks to pnpm publish for detached HEAD on tag push chore: Add --no-git-checks to pnpm publish for detached HEAD on tag push Apr 1, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the npm publish GitHub Actions workflow to avoid pnpm v10 failing on tag-triggered runs due to detached HEAD git branch checks.

Changes:

  • Add --no-git-checks to pnpm publish to bypass branch detection on tag push workflows.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@erezrokah erezrokah merged commit 437f551 into main Apr 1, 2026
11 checks passed
@erezrokah erezrokah deleted the claude/gifted-tharp branch April 1, 2026 09:15
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.

2 participants