mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
fix(repo): close examples migration review gaps
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write docs/user/guide/github-review.md
|
||||
github-review.md: 2f777acdd0e8b4996a29a0b78262b1ba3ff9188c
|
||||
github-review.zh.md: 7518a13f3d74801dbfb4d0810c89851f4616a2ef
|
||||
github-review.md: a104c1ec8d32d23ccbcb88a492ed2a9ede474c01
|
||||
github-review.zh.md: 4800dbc65c098e871573ac01d3904e6ab1b991f9
|
||||
|
||||
@@ -25,7 +25,7 @@ printf '%s\n' "$DSH_GITHUB_WEBHOOK_SECRET"
|
||||
From a development checkout:
|
||||
|
||||
```sh
|
||||
export DSH_GITHUB_REVIEW_WORKSPACE=/Users/cty/deepseek-harness
|
||||
export DSH_GITHUB_REVIEW_WORKSPACE=/path/to/deepseek-harness
|
||||
pnpm dsh web --patch apps/cli/config/examples/github-review/cordis.yml
|
||||
```
|
||||
|
||||
@@ -89,8 +89,8 @@ It can also map repositories to different local paths:
|
||||
|
||||
```js
|
||||
const workspacePath = {
|
||||
'deepseek-harness/deepseek-harness': '/Users/cty/deepseek-harness',
|
||||
'deepseek-harness/dsh-sdk': '/Users/cty/dsh-sdk',
|
||||
'deepseek-harness/deepseek-harness': '/path/to/deepseek-harness',
|
||||
'deepseek-harness/dsh-sdk': '/path/to/dsh-sdk',
|
||||
}[payload.repository.full_name]
|
||||
if (workspacePath === undefined) return null
|
||||
```
|
||||
|
||||
@@ -25,7 +25,7 @@ printf '%s\n' "$DSH_GITHUB_WEBHOOK_SECRET"
|
||||
在开发 checkout 中运行:
|
||||
|
||||
```sh
|
||||
export DSH_GITHUB_REVIEW_WORKSPACE=/Users/cty/deepseek-harness
|
||||
export DSH_GITHUB_REVIEW_WORKSPACE=/path/to/deepseek-harness
|
||||
pnpm dsh web --patch apps/cli/config/examples/github-review/cordis.yml
|
||||
```
|
||||
|
||||
@@ -89,8 +89,8 @@ if (!response.ok || (await response.json()).automaticReview !== true) return nul
|
||||
|
||||
```js
|
||||
const workspacePath = {
|
||||
'deepseek-harness/deepseek-harness': '/Users/cty/deepseek-harness',
|
||||
'deepseek-harness/dsh-sdk': '/Users/cty/dsh-sdk',
|
||||
'deepseek-harness/deepseek-harness': '/path/to/deepseek-harness',
|
||||
'deepseek-harness/dsh-sdk': '/path/to/dsh-sdk',
|
||||
}[payload.repository.full_name]
|
||||
if (workspacePath === undefined) return null
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user