Skip to content
Kitbay
Submit
Skill

ghstack-ci

NOASSERTIONUpdated on Nov 11, 2026105,390GitHub stars

A maintainer skill in the PyTorch repository for deciding where CI runs in a ghstack stack, a chain of dependent pull requests.

What the skill teaches

A maintainer skill in the PyTorch repository for deciding where CI runs in a ghstack stack, a chain of dependent pull requests. CI runs on pull requests being prepared for review or landing, those needed to diagnose a failure, and upper ones that cover several changes together; others get a [no-ci] title prefix. The agent works out the stack from commit ancestry and trailers, edits both the GitHub title and the commit subject so ghstack does not undo the change, and later removes the prefix and pushes or reruns the gated jobs after checking the run belongs to the current head. Before landing, every open pull request needs passing checks. It asks for approval before any GitHub write or rerun.

Capabilities

  • Choose which pull requests in a stack run CI
  • Add or remove the [no-ci] prefix in titles and commits
  • Rerun gated CI jobs on the current head
  • Check that every pull request passes before landing