| REPOMATIC-CLOSE-STALE-BUMP-PR(1) | REPOMATIC-CLOSE-STALE-BUMP-PR(1) |
repomatic close-stale-bump-pr - Close a stale version-bump PR
repomatic close-stale-bump-pr [OPTIONS]
Close the minor/major version-increment PR when a bump is no longer allowed.
The changelog workflow's bump-version job opens a draft PR on the "<part>-version-increment" branch whenever a bump is allowed. A scheduled run that started before a competing push can open this PR against a main branch that has already advanced past the target, leaving an orphan that subsequent scheduled runs cannot refresh.
This command reconciles that state: it re-evaluates the gate against the current checkout and, when the bump is no longer allowed, closes any open PR on the matching branch (deleting the branch). When the bump is still allowed, it leaves the PR alone so the standard bump flow can update it.
Idempotent: a no-op when no open PR exists on the target branch.
Close a stale minor-bump pull request
repomatic close\-stale\-bump\-pr \-\-part minor
Close a stale major-bump pull request
repomatic close\-stale\-bump\-pr \-\-part major
Kevin Deldycke
| 2026-09-14 | 7.15.1.dev0 |