[Refactor] Create-prにPhase 6 CI結果確認を追加#198
Merged
Merged
Conversation
BlueEventHorizon
marked this pull request as ready for review
July 12, 2026 22:14
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.
概要
/anvil:create-prに Phase 6「CI 結果確認」を追加し、PR 作成後に CI 結果を自動確認するステップを実装した。背景
PR 作成後に CI 結果を確認せずに次の作業を進めてしまい、CI が
pendingのまま気づかない・マージ後の追加コミットが未反映のまま気づかないという問題が実際に発生していた(Issue #194)。やったこと
.github/workflows/の存在確認 → 存在する場合のみgh pr checks <PR番号> --watchで CI 完了までブロッキング待機するステップ(Phase 6)を追加git ls-remote --heads origin <branch>で existence-check と stale 判定の比較方法を統一(remote-tracking ref の fetch 依存を回避)やらないこと(このプルリクエストのスコープ外とすること)
create-prの入力契約(Issue 番号 / artifacts の明示的な受け渡し)拡張は対象外(既存の意図的な暫定設計、impl-issue/SKILL.md13-2 に記載済み)ghwrite 権限の事前確認追加は対象外(別途 needs_review として記録)gh pr checks --watchの既定動作に委譲)レビュー観点
git ls-remote --headsベースの比較)レビューレベル
Lv0: まったく見ないでAcceptするLv1: ぱっとみて違和感がないかチェックしてAcceptするLv3: 実際に環境で動作確認したうえでAcceptする備考
Closes #194