chore(deps): bump changesets/action from 1.9.0 to 2.1.1 in the actions group across 1 directory - #148
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps the actions group with 1 update in the / directory: [changesets/action](https://github.com/changesets/action). Updates `changesets/action` from 1.9.0 to 2.1.1 - [Release notes](https://github.com/changesets/action/releases) - [Changelog](https://github.com/changesets/action/blob/main/CHANGELOG.md) - [Commits](changesets/action@a45c4d5...8488615) --- updated-dependencies: - dependency-name: changesets/action dependency-version: 2.1.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/github_actions/actions-2c80fc32b7
branch
from
August 31, 2026 09:22
a676a22 to
d600417
Compare
Owner
|
このバンプは #156 で取り込みました(close します)。
そのため #156 で action と CLI を同時に上げ、 🤖 Assisted by Claude Code |
Contributor
Author
|
This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests. To ignore these dependencies, configure ignore rules in dependabot.yml |
shinyaoguri
added a commit
that referenced
this pull request
Sep 4, 2026
## 目的 dependabot が出していた 2 件は**片方だけマージするとリリースが壊れる**組み合わせだったので、1 PR にまとめて移行する。 - #148 `changesets/action` v1.9.0 → v2.1.1 - #150 `@changesets/cli` 2.31.1 → 3.0.0 理由: 1. **相互依存**。action v2 はプロジェクトが Changesets CLI v3 であることを検証し、v2 なら `changesets/action@v1` を使えと言って落ちる(action v2.0.0 / changesets/action#699)。逆に CLI v3 だけ上げても action v1 は v2 系パッケージ前提。 2. **入力名が全面改名 + `GITHUB_TOKEN` env 廃止**(changesets/action#681・#674)。`version`→`version-script`、`publish`→`publish-script`、`commit`→`commit-message`、`title`→`pr-title`。GitHub Actions は**未知入力を警告のみで無視する**ので、SHA だけの bump はリリースを黙って無効化する。 3. **CI では検知できない**。`ci.yml` は `release.yml` を実行しないため、#148 単独でも `check` は green。#136 で整理した「dependabot はマニフェストしか書き換えず、手で追随すべき箇所は黙ってドリフトする」パターンそのもの。 ## 変更点 - **`.github/workflows/release.yml`**: pin を v2.1.1 の SHA へ、入力を v2 名へ移行し、`github-token` を明示(v2 は env を見ない)。`commit-message` / `pr-title` は v2 の既定値 `Version Packages` ではなく Conventional Commits を保つため明示継続(squash merge のコミット要約になる)。npm 認証は従来どおり OIDC trusted publishing でトークンは持たない。 - **`package.json`**: `@changesets/cli` を `^3.0.0`、`engines.node` を `>=22.11`(CLI v3 の engines は `^22.11 || ^24 || >=26`)。 - **`.changeset/config.json`**: `$schema` を `@changesets/config@4.0.0` へ(CLI v3 が引くのは config v4)。削除された `prettier` は未使用、`privatePackages` の既定変更で影響を受ける private パッケージ(`site/`)に changeset は無いので他の移行は不要。 - **`test/dependency-consistency.test.ts`**: 再発防止のガードを 2 本追加。 - action の pin(`# vX.Y.Z` コメント)の major と `@changesets/cli` の major が対応表(1↔2, 2↔3)どおりであること。表に無い major が pin されたら落として手で判断させる。 - pin した major の入力名だけが使われていること(v1 名の残留と `GITHUB_TOKEN:` env 依存を落とす)。 - `.changeset/config.json` の `$schema` の major が `package-lock.json` の解決済み `@changesets/config` と一致すること。**major のみ**の比較にしたのは、こちらが transitive で minor が `npm install` のたびに動きうるため(#145 の「無関係な PR が赤くなる」の回避)。 - **ADR 0004**: action と CLI の major を同時にしか動かせない制約と、その整合をテストで担保していることを追記。 changeset は無し(`packages/*` を触らないので公開物に変化なし)。 ## 確認方法 - `npm run build` / `npm test`(36 files・367 tests green)/ `npm run typecheck`(0 errors) - 新ガードが**赤くなるのを見てから**仕上げた: 入力名を v1 に戻す・CLI を `^2` に戻す・`$schema` を `3.0.0` に戻す・pin のバージョンコメントを外す、の 4 ケースで期待どおり該当テストだけが落ちる - **CLI v3 の疎通**: 捨て changeset で `npx changeset status`(`@cosense-site-kit/core -> 0.4.4` を提示)→ `npx changeset version`(bump + CHANGELOG + changeset 消費)まで確認し、変更は戻した。依存パッケージまで連鎖しない挙動は v2 のときと同じ(cf. b80edbc) - pin した SHA `8488615a…` が v2.1.1 タグの実体と一致することと、入力名がその SHA の `action.yml` と一致することを確認 - **マージ後**: main の `Release` 実行ログで action v2 が CLI v3 検証を通り、未知入力の警告が出ていないことを確認する(changeset ゼロなので publish モードで no-op が正しい)。壊れていても `release.yml` の 1 ステップの revert で v1 系に戻せる ## 補足 `npm run lint` はこの worktree(`.claude/worktrees/*` 配下)からは 0 files で落ちる。`biome.json` の `!**/.claude` が biome へ渡す `.`(= 絶対パス)にマッチするためで、この PR とは無関係な既存の papercut(別途 Issue にする)。CI は `.claude` を含まないパスで走るので影響なし。変更ファイルは明示パスで biome を通して green を確認済み。 --- <sub>🤖 Assisted by [Claude Code](https://claude.com/claude-code)</sub>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the actions group with 1 update in the / directory: changesets/action.
Updates
changesets/actionfrom 1.9.0 to 2.1.1Release notes
Sourced from changesets/action's releases.
... (truncated)
Changelog
Sourced from changesets/action's changelog.
... (truncated)
Commits
8488615v2.1.1d7669c8Version Packages (#722)da1ea29Fix typo in renamed inputs (#721)7545547Version Packages (#719)3043070Prevent test warning annotations (#720)3b7c71cAdd back cwd input (#718)6f58ba3Update pr-status message links to new faq (#716)e52ce9eVersion Packages (#715)78fdc6bExit pre mode (#714)187a104Update deps for stable (#709)