Repository navigation
ci: release every main push with an auto-derived semver tag - #250
Merged
Merged
Conversation
Consumers pin workflows/actions by SHA, but without tags the version comments had nothing stable to name — zizmor's ref-version-mismatch fired in consumer repos whenever main moved, and renovate had no versions to bump the pins against (renovate-config#76). The bump is derived from conventional commit types since the last tag (breaking -> major, feat -> minor, otherwise patch); the first run tags v1.0.0. Closes #249
This was referenced Dec 1, 2026
Merged
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.
Closes #249
Summary
main への push ごとに release.yml が semver タグ + GitHub Release を自動作成する。bump は前タグ以降の conventional commit type から導出(
!/BREAKING → major、feat:→ minor、それ以外 → patch)。初回実行で v1.0.0 が切られる。これにより:
@<sha> # vX.Y.Z形式になり、zizmor の ref-version-mismatch が安定(renovate-config#76 の再発防止)設計メモ(セキュリティ)
persist-credentials: false、トークンはタグ作成ステップの env のみ(タグ/リリースはgh release create一発、git push なし)マージ後の作業(Claude が実施)
# v1.0.0形式に更新する PRv1タグ(8472a07、参照ゼロ)を削除