Skip to content

fix: release workflowのconcurrency設定でリリースPR重複を防止#12

Merged
kryota-dev merged 1 commit intomainfrom
fix/release-workflow-concurrency
Feb 21, 2026
Merged

fix: release workflowのconcurrency設定でリリースPR重複を防止#12
kryota-dev merged 1 commit intomainfrom
fix/release-workflow-concurrency

Conversation

@kryota-dev
Copy link
Copy Markdown
Owner

@kryota-dev kryota-dev commented Feb 21, 2026

Summary

原因分析

my_release.ymlconcurrency グループが未設定のため、main への push が短時間に複数発生した際に release workflow が並行実行され、tagpr が重複したリリースPRを作成していた。

重複ペア 原因
#8 / #9 (v0.0.2) リリースPRマージ後の再実行で tagpr がマージを検知できず再作成
#10 / #11 (v0.0.3) Renovate PR 2件の連続マージによる並行実行

修正内容

concurrency:
  group: ${{ github.workflow }}
  cancel-in-progress: false
  • cancel-in-progress: false により実行中のリリースはキャンセルせず、後続はキューイング
  • tagpr 実行時に GitHub API の状態が安定し、リリースPRマージの正しい検知が可能に

対応

  • my_release.yml に concurrency グループ追加
  • 重複リリースPR Release for v0.0.3 #11 をクローズ済み

Test plan

  • main マージ後、release workflow が正常に単一実行されることを確認
  • 次回リリースPRで重複が発生しないことを確認

🤖 Generated with Claude Code

@kryota-dev kryota-dev force-pushed the fix/release-workflow-concurrency branch from 17483f7 to 29a822a Compare February 21, 2026 06:15
@kryota-dev kryota-dev merged commit f61fa21 into main Feb 21, 2026
4 checks passed
@kryota-dev kryota-dev deleted the fix/release-workflow-concurrency branch February 21, 2026 06:18
@github-actions github-actions Bot mentioned this pull request Feb 21, 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