ci: リリースをタグ付けから公開・Release 作成まで自動で繋ぐ - #58
Merged
Merged
Conversation
版宣言 PR のマージを起点に、タグ付け → 公開 → GitHub Release の作成までが自動で進むようにする。 GITHUB_TOKEN が作った Release は release イベントを起こさないため、publish の起点を workflow_dispatch へ移し、タグを ref に渡して release.yml から起動する。ref がタグである点は 従来と変わらないため、版照合・ドキュメント保管・次版 PR は手を入れていない。 Release の本文は変更点を持たず CHANGELOG の当該節を指す。写しを置くと版を跨いで食い違うため、 変更点の正は CHANGELOG に一本化する。作成は公開の後に置き、成果物が無いまま Latest release が 立つことを避ける。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
k163377
force-pushed
the
ci/automate-release
branch
from
September 5, 2026 12:59
e385afd to
1b48530
Compare
k163377
marked this pull request as ready for review
September 5, 2026 13:11
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.
版宣言 PR のマージを起点に、タグ付けから公開・GitHub Release の作成までを自動で進める。
手作業として残るのは Central Portal の validation 確認のみ。
起点の移動
GITHUB_TOKEN が作った Release は
releaseイベントを起こさないため、Release の自動作成と「Release を公開の起点にする」設計は両立しない。publish の起点を
workflow_dispatchへ移し、タグを ref に渡して release.yml から起動する。
ref がタグである点は従来と変わらないため、版照合・ドキュメント保管・次版 PR には手を入れていない。
既定ブランチなど別の ref で起こした場合は、既存の版照合が食い違いとして落とす。
Release の本文
変更点は持たず、CHANGELOG の当該節を指すだけとする。写しを置くと版を跨いで食い違うため、
変更点の正は CHANGELOG に一本化する。
**Full Changelog**行だけは GitHub の自動生成と同じものを
generate-notesAPI から取る。作成は公開の後に置く。先に作ると、公開が落ちた時に成果物が無いまま Latest release が立つ。
publish とは別ジョブとしたため、ここが落ちてもドキュメント掲載と次版 PR は進む。
ローカル検証
on/ jobs / needs / permissions を構造で確認tagステップ空撃ちtag=v<版>v2.4.10-0.1.1時点の CHANGELOG に#2410-011が有ることを確認GH_REPOから解決できることを確認🤖 Generated with Claude Code