Skip to main content

github-delivery-watchdog

Periodically check pull requests and merge only current heads with independent review, tests, and passing CI.

来源信息

仓库
OpenHands/extensions
最近来源活动
2026年10月29日 15:46
检测到的 SKILL.md 语言
英语
星标
175
Forks
119

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
8 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
github-delivery-watchdog
description
Periodically check pull requests and merge only current heads with independent review, tests, and passing CI.
triggers
["/github-delivery-watchdog"]
# GitHub delivery watchdog This is a deterministic scheduled host command. It creates no agent or conversation and needs no agent profile. Configure a repository-scoped fine-grained PAT with Contents and Issues read/write plus Pull requests, Actions, Commit statuses, and Metadata read. Contents write permits merge; Issues write retains the review label when the branch is updated. Never put the token value in the automation definition. Package `scripts/worker.py` as `worker.py` and the shared `scripts/github_client.py` as `github_client.py`. The catalog bundle declares these exact files. Its `config.json` supplies `repos`, `branch_prefix`, and the saved secret name. The shared GitHub client resolves only that named secret. Automation owns scheduling and cancellation. Set `branch_prefix` (default `openhands/issue`), `base_branch` (defaults to the repository's default branch), and `required_workflow_ids` when particular Actions workflows must run. The watchdog requires `software-factory/tests` and `software-factory/review` success statuses on the exact head, all other statuses and Actions passing, a current base, a non-draft PR, and GitHub reporting it mergeable. Missing, pending, failed, or inaccessible evidence does not permit merge. A changed head requires fresh review and tests. When an accepted branch is behind the base, the watchdog asks GitHub to update it and retains the review trigger label; it considers the new head only on a later run. The merge request includes the expected head SHA. Actions are optional when `required_workflow_ids` is empty; the two acceptance statuses remain mandatory. Configure workflow IDs when GitHub Actions must also supply evidence. Branch protection remains GitHub's final merge gate.
在 GitHub 查看