Skip to main content

github-stale-ci-pr-closer

Warn and close abandoned pull requests whose required CI remains failing.

来源信息

仓库
OpenHands/extensions
最近来源活动
2026年10月2日 03:19
检测到的 SKILL.md 语言
英语
星标
157
分支
102

安装方式

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

检查来源文件

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

文件资源管理器
8 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
github-stale-ci-pr-closer
description
Warn and close abandoned pull requests whose required CI remains failing.
triggers
["/github-stale-ci-pr-closer"]
# GitHub stale CI pull request closer This deterministic scheduled automation scans every open, non-draft pull request in its configured repositories. It reads the required status checks from the GitHub rules that apply to the pull request's base branch. - After required CI remains failing for seven days, it posts one marked warning. - After seven more days, it closes the pull request only when required CI still fails and the author has neither pushed nor commented since the warning. - Passing or pending CI, a draft conversion, closure, merge, or author follow-up cancels the pending close. Continued failure starts a fresh warning window. The automation creates no agent or conversation. Configure a repository-scoped fine-grained PAT with Metadata: Read, Actions: Read, Commit statuses: Read, Issues: Read and Write, and Pull requests: Read and Write. The token also needs read access to repository rules. Package `scripts/worker.py` as `worker.py` and the shared `skills/github/scripts/github_client.py` as `github_client.py`.
在 GitHub 查看