Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/claude-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
pull-requests: write
issues: write
actions: read
uses: Synchain-oss/ci-workflows/.github/workflows/claude-review.yml@5c5defd08f79a320261700a5c1d8696af5a20ec0 # v1.3.2
uses: Synchain-oss/ci-workflows/.github/workflows/claude-review.yml@070537914c9af4c2742b8fc5c7f63e06daef82ae # v1.3.3
with:
focus: |
### 1. 鉴权与凭据(最高优先级)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deepseek-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
contents: read
pull-requests: write
issues: write
uses: Synchain-oss/ci-workflows/.github/workflows/deepseek-review.yml@5c5defd08f79a320261700a5c1d8696af5a20ec0 # v1.3.2
uses: Synchain-oss/ci-workflows/.github/workflows/deepseek-review.yml@070537914c9af4c2742b8fc5c7f63e06daef82ae # v1.3.3
with:
pr_number: ${{ inputs.pr_number }}
provider: opencode-go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
contents: read # pr-agent 要读 PR 文件与 .pr_agent.toml
issues: write
pull-requests: write
uses: Synchain-oss/ci-workflows/.github/workflows/pr-agent.yml@5c5defd08f79a320261700a5c1d8696af5a20ec0 # v1.3.2
uses: Synchain-oss/ci-workflows/.github/workflows/pr-agent.yml@070537914c9af4c2742b8fc5c7f63e06daef82ae # v1.3.3
with:
provider: opencode-go
ignore_globs: '["package-lock.json","LICENSES/*"]'
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ npm audit --audit-level=high
| `pr-agent` | 中央 workflow,`ubuntu-latest`(`docker run`) | same-repo PR → dev | 薄调用方:调用方只放 `ignore_globs`;镜像按 digest 钉在中央,无备用模型;子 PR(base = feature/*)不跑;fork PR 不跑;检查名 `pr-agent / pr-agent` |
| `review-dispatch` | `ubuntu-latest` | `issue_comment`(`/review`,评论者 ∈ {OWNER,MEMBER,COLLABORATOR}) | fork PR 唯一 AI 审查通道 |

三个 review bot 文件都是调用 `Synchain-oss/ci-workflows` 的薄调用方,按 **commit SHA** 引用(行尾注释 `# v1.3.2`;§0 第 3 条不放行 `@v1` 这类可变 ref),升级中央版本 = 三处一起改 SHA。模型、工具边界、符号链接拒审、diff 预取、draft / fork / dependabot 与晋升 PR 跳过、并发与超时都在中央;secret 由调用方逐个显式传入,只传该 workflow 用到的那一个(最小权限,不用 `secrets: inherit`)。`review-dispatch` 没有迁到中央(中央只接 `pull_request`),仍自带一份 prompt 与 `claude_args`;改 `claude-review.yml` 的 `focus` / `extra_prompt` 时要手动同步它。
三个 review bot 文件都是调用 `Synchain-oss/ci-workflows` 的薄调用方,按 **commit SHA** 引用(行尾注释 `# v1.3.3`;§0 第 3 条不放行 `@v1` 这类可变 ref),升级中央版本 = 三处一起改 SHA。模型、工具边界、符号链接拒审、diff 预取、draft / fork / dependabot 与晋升 PR 跳过、并发与超时都在中央;secret 由调用方逐个显式传入,只传该 workflow 用到的那一个(最小权限,不用 `secrets: inherit`)。`review-dispatch` 没有迁到中央(中央只接 `pull_request`),仍自带一份 prompt 与 `claude_args`;改 `claude-review.yml` 的 `focus` / `extra_prompt` 时要手动同步它。

成本纪律:runner 就低不就高;按量计费 bot 克制。

Expand Down
Loading