Install
openclaw skills install pr-auto-checkAutomated PR submission pipeline: run code review, verify service health, and post the full result to a Discord channel. Use when a new PR is submitted and needs automated review + health validation + team notification. Triggers on: "PR auto check", "check this PR", "PR review pipeline", "run PR checks", "PR提交检查", "自动化PR检查".
openclaw skills install pr-auto-checkAutomated pipeline that runs on new PR submission: code review → health check → Discord notification.
Run the pipeline script — collects CI status, diff stats, and health check results:
bash {baseDir}/scripts/pr_auto_check.sh --pr <number> [--repo <owner/repo>] [--json]
--json: machine-readable output (for piping)--json: human-readable report printed to stdoutConduct code review — use the code-review skill on the PR diff. Focus on:
Post result to Discord:
bash {baseDir}/scripts/notify_discord.sh --webhook <DISCORD_WEBHOOK_URL> --result <json-file>
RESULT=$(bash {baseDir}/scripts/pr_auto_check.sh --pr 42 --json) && \
bash {baseDir}/scripts/notify_discord.sh --webhook "$WEBHOOK" --result "$RESULT"
gh CLI authenticated (gh auth login)jq for JSON processingcurl for Discord webhookDISCORD_WEBHOOK env var or pass --webhook)healthcheck skill installed for service health validationDISCORD_WEBHOOK in your environment or pass via --webhook| Code | Meaning |
|---|---|
| 0 | All checks passed |
| 1 | CI failures or health warnings |
| 2 | Critical health issues |
See references/output-format.md for the JSON schema.