← 返回
开发者工具 Key

openclaw-gitcode-pr-monitor

Monitor GitCode PRs for one or more repos, auto-run AI review via OpenClaw Gateway, post PR comments, and send notifications (DingTalk + WeCom).
监控一个或多个 GitCode 仓库的 PR,通过 OpenClaw Gateway 自动执行 AI 审查,发布 PR 评论,并发送钉钉和企业微信通知。
mingyang1996
开发者工具 clawhub v0.1.2 1 版本 100000 Key: 需要
★ 0
Stars
📥 547
下载
💾 107
安装
1
版本
#latest

概述

openclaw-gitcode-pr-monitor

This skill packages a production-ready GitCode PR monitoring + auto-review pipeline.

What it does

  • Poll GitCode PR list for one or more repos (defaults use anonymous placeholders: ExampleOrg/example_repo_1 + ExampleOrg/example_repo_2)
  • When a new PR is detected:
  • send “review started” notification
  • run openclaw agent to generate a Markdown review report
  • post the report back to the PR as a comment
  • send “review finished” notification + attach the report

Files

  • scripts/monitor-gitcode-pr.sh — fetch latest PR, compare state, output NEW_PR_DETECTED
  • scripts/gitcode-pr-monitor-agent.sh — orchestrator (multi-repo loop)
  • scripts/code-review-robust.sh — run AI review (repo-aware, daily rotated session id)
  • scripts/submit-pr-comment.sh — post PR comment (repo-aware)

Quick start

1) Put your GitCode token at:

  • $HOME/.openclaw/workspace/data/gitcode-token.txt

2) Configure notification targets

This packaged version defaults to DingTalk + WeCom, but you must set your own targets.

Recommended (env vars):

export TARGET_DINGTALK="<your-dingtalk-target>"
export TARGET_WECOM="user:<wecom-userid>"

3) Configure repos

Recommended (env vars):

export REPO_OWNER="<your-org>"
export REPOS_CSV="repo_a,repo_b"

4) Install cron

Example (every 5 minutes):

*/5 * * * * OPENCLAW_WORKSPACE="$HOME/.openclaw/workspace" REPO_OWNER="..." REPOS_CSV="..." TARGET_DINGTALK="..." TARGET_WECOM="..." $OPENCLAW_WORKSPACE/skills/openclaw-gitcode-pr-monitor/scripts/gitcode-pr-monitor-agent.sh >> $OPENCLAW_WORKSPACE/logs/cron-gitcode-pr.log 2>&1

See: references/CONFIG.md.

版本历史

共 1 个版本

  • v0.1.2 当前
    2026-03-19 23:11 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,837
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,726
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 425 📥 118,019