dsh-ci-cd-bot
监听GitHub问题与PR并自动修复本地代码 适合需要通过AI智能体自动处理GitHub Issue和PR的开发工作流。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bkMoon1024/dsh-ci-cd-bot说明文档
阅读完整 README ↗Configuration
Most parameters are editable in the board's settings page; changes apply immediately and persist to ~/.dsh/dsh-ci-cd-bot.json (announceToAgent is JSON / API only). Complete reference — required fields, defaults, examples, security notes: CONFIG.md.
| 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) |