返回顶部
g

github-pr-automationGitHub PR自动化

Automate GitHub pull request workflows including creation, review, merging, and monitoring. Handles PR templates, auto-labeling, CI/CD integration, and review automation. Use when users need to create PRs with proper formatting and templates, automate PR reviews and approvals, monitor PR status and CI checks, auto-merge PRs based on conditions, batch process multiple PRs, or track PR metrics and performance.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
182
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

github-pr-automation

GitHub PR 自动化

通过智能自动化简化 GitHub 拉取请求工作流程,涵盖创建、审查和合并。

功能特性

  • - 使用模板自动创建 PR
  • 智能标签与分配
  • CI/CD 状态监控
  • 自动审查与批准工作流
  • 条件自动合并
  • 批量 PR 操作
  • PR 分析与报告

快速开始

使用模板创建 PR

bash
node scripts/create_pr.js --branch feature/new-api --title 添加新 API 端点 --template feature

监控 PR 状态

bash
node scripts/monitor_pr.js --pr 123

返回 CI 状态、审查状态及合并就绪情况。

自动合并就绪的 PR

bash
node scripts/automerge.js --repo owner/repo --conditions cipassed,reviews_approved

批量审查 PR

bash
node scripts/batch_review.js --repo owner/repo --label ready-for-review --action approve

配置

PR 自动化规则定义在 references/automation_rules.json 中:

json
{
auto_label: {
bug: [fix, bugfix],
feature: [feat, feature],
docs: [docs, documentation]
},
auto_merge: {
enabled: true,
conditions: [cipassed, reviewsapproved, no_conflicts]
},
reviewers: {
backend: [@backend-team],
frontend: [@frontend-team]
}
}

PR 模板

将模板存储在 references/pr_templates/ 目录中:

  • - feature.md - 功能 PR
  • bugfix.md - 缺陷修复
  • hotfix.md - 紧急修复
  • docs.md - 文档更新

GitHub CLI 集成

本技能使用 gh CLI 执行 GitHub 操作。请确保已安装并完成身份验证:

bash
gh auth status

定价方案

  • - 免费版:基础 PR 自动化,1 个仓库,手动触发
  • 专业版($14.99/月):无限仓库,自动触发,高级规则
  • 团队版($49.99/月):多团队支持,自定义工作流,分析报告

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 github-pr-automation-pro-1776193684 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 github-pr-automation-pro-1776193684 技能

通过命令行安装

skillhub install github-pr-automation-pro-1776193684

下载

⬇ 下载 github-pr-automation v1.0.0(免费)

文件大小: 6.02 KB | 发布时间: 2026-4-17 14:56

v1.0.0 最新 2026-4-17 14:56
Initial release: Automated PR creation, monitoring, and merging workflows

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部