From f3787beade080b10c6ce9755f4b11a10bd0d3365 Mon Sep 17 00:00:00 2001 From: Phantom <59059173+EurFelux@users.noreply.github.com> Date: Sun, 7 Sep 2025 13:33:32 +0800 Subject: [PATCH] ci(workflow): remove code review on sync & add more env info (#9985) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ci(workflow): 简化claude代码审查工作流的触发条件 移除synchronize事件触发,仅保留pull_request opened事件 添加PR编号和仓库信息到审查提示中 --- .github/workflows/claude-code-review.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 9553ef6a9..5535f2a72 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -2,7 +2,7 @@ name: Claude Code Review on: pull_request: - types: [opened, synchronize] + types: [opened] # Optional: Only run on specific file changes # paths: # - "src/**/*.ts" @@ -45,6 +45,9 @@ jobs: - Security concerns - Test coverage + PR number: ${{ github.event.number }} + Repo: ${{ github.repository }} + Use the repository's CLAUDE.md for guidance on style and conventions. Be constructive and helpful in your feedback. Use `gh pr comment` with your Bash tool to leave your review as a comment on the PR.