Skip to main content

github-stale-ci-pr-closer

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

Source facts

Repository
OpenHands/extensions
Last source activity
October 29, 2026 at 15:46
Detected SKILL.md language
English
Stars
179
Forks
126

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
8 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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`.
View on GitHub