Repository navigation
Conversation
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- getCheckRun()を追加し、対象commitのcheck runを取得できるようにする - approve-entry.mjsで、check runがfailure・かつコメント時刻以前に完了していることを 確認してから承認する(TOCTOU対策: 未レビューshaやVRT未実行時の誤承認を防ぐ) - セルフApprove・権限不足・check未解決の3拒否ケースすべてでPRへ理由コメントを投稿する - examples/vrt-pages-approve.yamlの不要なcheckout/setup-bun/bun installを削除し、 コメント本文の事前フィルタとpull-requests: write権限を追加する Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- storybook inputを追加し、falseならstorycap撮影・比較ステップをスキップできるようにする (Storybookビルドを持たない実ページVRT専用consumer向け) - フォント・Chrome for Testingのセットアップ系ステップをmode: captureの時のみ実行し、 approveモードでの無駄なランナー時間を削減する - pages-viewport省略時にviewportの1つ目の値を実際に継承するよう、action.ymlからの VRT_VIEWPORT受け渡しとpages-entry.mjsのフォールバック順を修正する - examples/vrt-pages.yamlにstorybook: "false"を追加 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- inputsテーブルにstorybook inputの行を追加し、実ページVRT専用consumerでの 無効化方法を実ページVRT節に補足する - 実ページVRT節の直後に「セキュリティ上の注意」節を新設し、同一リポジトリPRが chromagicと同じGITHUB_TOKENにアクセスできる性質・CODEOWNERSでの保護推奨・ branch protection設定がconsumer側の責任であることを明記する Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
ソロ開発だとPR作成者以外に承認できる人がいないため、承認ゲート自体が詰んでしまう。 pages-allow-self-approve: trueで write権限チェックは維持したままセルフApproveを許可できるようにした。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
これまではbaselineとcurrentの画像サイズが異なると比較自体を諦め、 diff画像を出さず「(サイズ変更)」表示のみだった。 大きい方のサイズに合わせて白背景でパディングしてから比較することで、 レイアウトの高さが変わるような変更でも増減箇所を緑/赤でハイライトできるようにした。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
chromagic/pages-approvalcheckを失敗させ、PR作成者以外の/chromagic approveコメント(write権限必須)で承認するまでマージをブロックできるようにしたstorybook: falseオプトアウトを追加Test plan
npm test(src/lib配下のユニットテスト、30/30 pass)node --checkで全エントリポイントの構文確認actionlint(bare実行)でワークフロー構文確認、action.yml/examples/*はYAMLパースチェックで検証このPRはmainにはマージせず、動作確認用として開いています。
🤖 Generated with Claude Code