From 5c9c27c88c259fec7c80ce4236346cfb8b65fbff Mon Sep 17 00:00:00 2001 From: Felix Schneider <99918022+trueberryless@users.noreply.github.com> Date: Tue, 3 Nov 2026 21:58:00 +0100 Subject: [PATCH 1/4] chore: migrate to changesets action v2 inputs --- .github/workflows/publish.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8c9e8cb..13aab53 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -104,10 +104,8 @@ jobs: id: changesets uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0 with: - version: pnpm exec changeset version - publish: pnpm exec changeset publish - commit: "[ci] release" - title: "[ci] release" - setupGitUser: false - env: - GITHUB_TOKEN: ${{ steps.bot-token.outputs.token }} + version-script: pnpm exec changeset version + publish-script: pnpm exec changeset publish + commit-message: "[ci] release" + pr-title: "[ci] release" + github-token: ${{ steps.bot-token.outputs.token }} From c151b9f44a0802ee7d61e9a933b6d26212f6b2e0 Mon Sep 17 00:00:00 2001 From: Felix Schneider <99918022+trueberryless@users.noreply.github.com> Date: Fri, 6 Nov 2026 23:12:04 +0100 Subject: [PATCH 2/4] chore: remove depandabot ignore rule again --- .github/dependabot.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b318473..05c25f6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,7 +8,3 @@ updates: actions: patterns: - "*" - ignore: - # v2 needs @changesets/cli v3 in every caller, so bump it manually - - dependency-name: "changesets/action" - update-types: ["version-update:semver-major"] From a4cb0e65c534e358dc27ca0540fd8fffb4ddf98b Mon Sep 17 00:00:00 2001 From: Felix Schneider <99918022+trueberryless@users.noreply.github.com> Date: Mon, 16 Nov 2026 18:21:13 +0100 Subject: [PATCH 3/4] chore: bump changesets action to v2.1.2 --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 13aab53..0d53496 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -102,7 +102,7 @@ jobs: - name: Create Release Pull Request or Publish to npm id: changesets - uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0 + uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 # v2.1.2 with: version-script: pnpm exec changeset version publish-script: pnpm exec changeset publish From 42a5a298f2e1376b2687f5a19dfbed17c8eee6f7 Mon Sep 17 00:00:00 2001 From: Felix Schneider <99918022+trueberryless@users.noreply.github.com> Date: Tue, 17 Nov 2026 22:25:58 +0100 Subject: [PATCH 4/4] docs: explain Changeset usage with pinning and migration guide --- docs/publish.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/publish.md b/docs/publish.md index 90020d7..74dfc61 100644 --- a/docs/publish.md +++ b/docs/publish.md @@ -2,7 +2,17 @@ Creates release pull requests or publishes packages to npm using [changesets](https://github.com/changesets/changesets). -When pending changesets exist, this workflow opens a release PR. When that PR is merged, it publishes the packages to npm. +When pending changesets exist, this workflow opens a release PR. When that PR is merged, it publishes the packages to npm. Release commits and tags are pushed through the GitHub API, so they are signed and attributed to `bombshell-bot[bot]`. + +## Requirements + +This workflow uses [`changesets/action`](https://github.com/changesets/action) v2, which requires `@changesets/cli` v3 in the calling repository. See the [Changesets migration guide](https://changesets.dev/guide/migration) for how to upgrade. + +Repositories still on `@changesets/cli` v2 should pin this workflow to `0c11c22d745695ae196865bca0d0cc177263bee9` until they migrate: + +```yaml +uses: bombshell-dev/automation/.github/workflows/publish.yml@0c11c22d745695ae196865bca0d0cc177263bee9 +``` ## Inputs