Repository navigation
XCL-123 Claude のレビューと自動マージを、agent-dev-kit の再利用ワークフローに移す - #253
Merged
Merged
Conversation
コピーで持つとずれるため。kit は SHA で固定して呼び、レビューの手順と判定は kit の同じコミットから取る。
Contributor
ci.yml が同じ PR のイベントを受けているので、入口を 1 つにする。
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.
概要
Claude のレビュー、自動マージ、
commit-rules・pr-rulesを、x-clone のコピーから agent-dev-kit の共有のものに切り替える。コピーはずれていた (commit-rulesは kit と中身が違った) ため。kit は public にしたので、公開の x-clone から呼べる。変更内容
ci.ymlから、kit のagent-claude-review.ymlを SHA で固定して呼ぶ (v1.4.0)。_claude-review.yml、.apm/skills/ci-code-review、scripts/ci/review-state.*を消すdevelopから取り出す」はやめるclaude-review / claude-reviewのままなので、ブランチ保護は直さなくてよいauto-merge.ymlから、kit のagent-auto-merge.ymlを呼ぶ (対象は同じ:develop向けのagent/ブランチ、fork とドラフトは除く)actions/changedを使い、x-clone のものを消すcommit-rules・pr-rules: kit から APM で入れる (apm.yml、apm.lock.yaml)。managerも v1.4.0 に上げる_check.ymlからnode --test scripts/ci/を外す (テストのファイルが kit に移ったため)動作確認
pnpm lint、pnpm typecheck、pnpm test(358 件)、pnpm format:checkapm install --frozenで、配置したファイルがロックと一致するリスクの確認
.env*、キー、トークン) を含めていない人が確認すること
claude-review / claude-reviewが kit のワークフローで動き、レビューのコメントが付くこと補足
apm installでは、消した.apm/skills/の掃除と kit の配置がぶつかり、3 回実行して落ち着いた。新しく clone した環境では起きない。.apm/skills/commit-rules・pr-rulesの削除は、1 つ目のコミット (ci) に入ってしまった (push 済みなので、書き換えていない)。