Skip to content

fix(ci): Integration workflow の二重実行を解消 - #5

Merged
tkgstrator merged 1 commit into
masterfrom
fix/ci-duplicate-trigger
Sep 17, 2026
Merged

tkgstrator merged 1 commit into
masterfrom
fix/ci-duplicate-trigger

Conversation

@tkgstrator

Copy link
Copy Markdown
Contributor

Summary

.github/workflows/integration.yaml の on: が push(branches-ignore: [main, master])と pull_request(ブランチ制限なし)の両方を持っていたため、PRブランチへのpushで push イベントと pull_request(synchronize) イベントが同時に発火し、commitlint / check / typecheck / build / test の各ジョブが二重に実行されていました。

push トリガーを削除し pull_request のみに一本化しました。他の workflow ファイル(code_review.yaml, deployment.yaml, release_validation.yaml, update_dependencies.yaml)も確認しましたが、同種の重複トリガーは見つかりませんでした。

Changes

  • .github/workflows/integration.yaml: push トリガーを削除し、pull_request のみに一本化

Test plan

  • 全 workflow ファイルの YAML 構文を js-yaml で検証(構文エラーなし)
  • マージ後、実際のPRで各ジョブが1回だけ実行されることを確認

🤖 Generated with Claude Code

integration.yaml had both push (branches-ignore main/master) and
pull_request triggers with no branch restriction, so pushing to a
PR branch fired the same jobs twice (push + pull_request synchronize).
Unify to pull_request only.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Failed to generate code suggestions for PR

@tkgstrator
tkgstrator merged commit e42cc5d into master Sep 17, 2026
7 checks passed
@tkgstrator
tkgstrator deleted the fix/ci-duplicate-trigger branch September 17, 2026 20:19
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