Skip to content

chore(ci): pin the shared workflows to @v1 - #842

Closed
unional wants to merge 1 commit into
mainfrom
chore/pin-github-workflows-v1
Closed

chore(ci): pin the shared workflows to @v1#842
unional wants to merge 1 commit into
mainfrom
chore/pin-github-workflows-v1

Conversation

@unional

@unional unional commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

This repo's release path is broken right now, and this fixes it.

repobuddy/.github pinned at @main meant an auto-merged Renovate bump there reached this repo instantly. That happened on 2026-08-12: repobuddy/.github#42 moved pnpm-release-changeset.yml to changesets/action@v2, which validates the consumer's @changesets/cli major and aborts on v2:

Error: This version of the Changesets action is designed to work with Changesets CLI v3.
Changesets CLI v2 is not supported; use Changesets action v1 instead.

Nothing failed visibly here only because this repo has not released since. The next release would have.

repobuddy/.github is now tagged with two parallel lines:

Line action CLI
@v1 changesets/action@v1 v2
@v2 changesets/action@v2 v3

This repo is on @changesets/cli ^2.29.8@v1. Move to @v2 only alongside a CLI v3 upgrade here; they are a matched pair.

Composite action refs are pinned too — a tagged workflow ref that still pulls a floating setup-playwright@main is only half a pin.

There is also a new secretless pnpm-release-changeset-oidc.yml on both lines (built-in GITHUB_TOKEN + npm trusted publishing instead of CI_GITHUB_TOKEN + NPM_TOKEN). Not adopted here — that needs a trusted publisher registered per package first.

repobuddy/.github is now tagged. Pinning @main meant every change there
reached this repo the instant it merged — which is how an auto-merged
changesets/action v1 -> v2 bump (repobuddy/.github#42) broke this repo's
release path without anyone touching it.

Two lines exist there, because changesets/action and @changesets/cli are
a matched pair the action validates at runtime:

  v1 -> changesets/action@v1 -> @changesets/cli v2
  v2 -> changesets/action@v2 -> @changesets/cli v3

This repo is on @changesets/cli ^2.29.8, so it belongs on @v1. Move to @v2
only together with a CLI v3 upgrade here.

Pins the composite action refs too, so the pin actually isolates this
repo instead of leaking back to @main through setup-playwright.

Refs: repobuddy/.github#43

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Aug 13, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5f48a73

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

@unional

unional commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #844, which upgrades @changesets/cli to v3 and pins the shared workflows to @v2 instead of holding at @v1. Going forward also avoids the npm 12 E403 republish bug that CLI 2.x has.

@unional unional closed this Aug 20, 2026
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