Skip to content

Change CD trigger from tag push to release published #151

@liplus-lin-lay

Description

@liplus-lin-lay

purpose

CD ワークフローの発火条件を tag push から release published イベントに変更する。

premise

  • リリース作成は AI が gh release create で手動実行する(PAT 経由で release イベントが発火する)
  • CD は release: published で発火し、build-mcpb + .mcpb リリース添付 + npm-publish を実行する
  • GITHUB_TOKEN で作成されたリリースは release イベントを発火しない(GitHub Actions の制限)

現状と残作業

constraints

  • cd.yml に attach-mcpb ジョブを追加(build-mcpb の後)
  • gh release uploadgithub.event.release.tag_name のリリースに .mcpb を添付
  • permissions: contents: write が必要

target files

  • .github/workflows/cd.yml

Metadata

Metadata

Labels

enhancementNew feature or requestin-progress着手中、実装または検証が進行中

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions