rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:lengrufeng2008/dsh-action
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A CI-native port of the Claude Code Action idea, built for DeepSeek Harness. It reviews a pull request with a cost-capped headless DSH run, writes a Markdown review, and optionally posts it.
This is a review, not an approval, merge, or security audit.
name: DSH PR review
on: pull_request
permissions:
contents: read
pull-requests: write
jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: lengrufeng2008/dsh-action@v0.1.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
api-key: ${{ secrets.DEEPSEEK_API_KEY }}
comment: "true"
max-minutes: "15"
Set DEEPSEEK_API_KEY as a repository secret. The action sets up Node 22 and installs @deepseek-ai/dsh, installs this
bundle into the headless profile, reads gh pr diff, and asks the pr-review skill for a review.
| Input | Default | Meaning |
|---|---|---|
github-token |
required | Needs pull-requests: write to comment |
api-key |
required | DeepSeek API key for DSH |
comment |
true |
Post the review as a PR comment |
max-minutes |
15 |
Hard wall-clock cap |
dsh-version |
latest |
Pin @deepseek-ai/dsh for reproducibility |
Output: review_path points to the Markdown file. Upload it as an artifact if you do not want a
comment.
max-minutes small and use a dedicated API key/budget.on: pull_request, not pull_request_target. A fork PR must not receive your API key or a
write token. If you need fork support, run the review in an isolated job with no secrets and post
through a separate trusted workflow.gh pr comment needs pull-requests: write; the default GITHUB_TOKEN is read-only in many repos.The same skill can be installed without CI:
dsh plugin --profile web add /home/lrf/dsh/products/dsh-action
Then ask: “Use pr-review on the current diff; output the review contract.”
npm test
The tests validate the skill provider, the action YAML, and the shell entrypoint. They do not call a model or GitHub. A full PR review requires a runner, a PR, and an API key.
Inspired by anthropics/claude-code-action
(no source copied). See NOTICE.md. License: MIT.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。