dsh-ci-cd-bot
DSH 网页 UI 插件,可监听 GitHub 的 Issue 和 PR,自动修复本地检出的 Issue,并将 PR 等转化为一键执行与推送的审核队列。
AI 分析
核心用途是实现GitHub Issue的自动修复与PR的审核运行队列管理。适合需要自动化CI/CD工作流的团队,要求Node.js 22及DSH 0.1.0-rc.6以上环境。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bkMoon1024/dsh-ci-cd-bot說明文件
閱讀完整 README ↗Configuration
All parameters are editable in the board's settings page (GUI only, no file editing); changes apply immediately and persist to ~/.dsh/dsh-ci-cd-bot.json.
| Field | Default | Description |
|---|---|---|
| GitHub Token | — | GitHub PAT with repo scope; kept on the host, never sent to the browser |
| Poll interval (ms) | 300000 | How often the listener polls GitHub |
| Backfill window (days) | 3 | First-poll window for open items |
| Scan roots | — | Extra local roots scanned for git checkouts (DSH workspaces are added automatically) |
| Bug labels | bug,故障,defect | Labels that classify an issue as a bug |
| Feature labels | enhancement,feature,需求 | Labels that classify an issue as a feature request |
| Auto-fix local bugs | on | Bug issues whose repo is checked out locally run automatically |
| Push policy | auto | auto pushes immediately; confirm parks the run at a board confirmation gate |
| Open a PR after fixes | on | Push the ghbot/… branch and open a PR instead of merging directly |
| Reply to the issue | on | Post a summary comment after a run finishes |
| Auto-merge on approve | on | Merge a PR when the review verdict is approve |
| Run concurrency | 2 | Max concurrent agent runs |
| Run timeout (ms) | 1800000 | Hard timeout for one agent run |
| Enable listener | on | Master switch for polling + execution |
| Announce to agent | on | System-prompt section announcing the plugin to chat agents |
| Include / exclude repos | — | owner/repo filters (empty = all account repos) |