[PR #576] [MERGED] fix: pass --no-git-checks to pnpm publish #682

Closed
opened 2026-05-06 13:09:31 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/576
Author: @southpolesteve
Created: 3/17/2026
Status: Merged
Merged: 3/17/2026
Merged by: @southpolesteve

Base: mainHead: fix/publish-workflow


📝 Commits (1)

  • eb5b2f6 fix: pass --no-git-checks to pnpm publish

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 .github/workflows/publish.yml (+1 -1)

📄 Description

Summary

  • The publish workflow bumps the version in package.json without committing (--no-git-tag-version), leaving the working tree dirty. pnpm's publish command enforces git-checks by default and refuses to publish in this state (ERR_PNPM_GIT_UNCLEAN). This adds --no-git-checks before the -- separator so pnpm skips the check while --provenance still passes through to npm.

Fixes: https://github.com/cloudflare/vinext/actions/runs/23191634900/job/67389628516


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/576 **Author:** [@southpolesteve](https://github.com/southpolesteve) **Created:** 3/17/2026 **Status:** ✅ Merged **Merged:** 3/17/2026 **Merged by:** [@southpolesteve](https://github.com/southpolesteve) **Base:** `main` ← **Head:** `fix/publish-workflow` --- ### 📝 Commits (1) - [`eb5b2f6`](https://github.com/cloudflare/vinext/commit/eb5b2f65f3846c5b74ca56256122963ab6c0a894) fix: pass --no-git-checks to pnpm publish ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/publish.yml` (+1 -1) </details> ### 📄 Description ## Summary - The publish workflow bumps the version in `package.json` without committing (`--no-git-tag-version`), leaving the working tree dirty. pnpm's `publish` command enforces git-checks by default and refuses to publish in this state (`ERR_PNPM_GIT_UNCLEAN`). This adds `--no-git-checks` before the `--` separator so pnpm skips the check while `--provenance` still passes through to npm. Fixes: https://github.com/cloudflare/vinext/actions/runs/23191634900/job/67389628516 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:09:31 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#682
No description provided.