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.

The version part whose bump PR should be reconciled.
[required]
Show this message and exit.

The version part whose bump PR should be reconciled.
Show this message and exit.

0
Success.
1
A runtime error, or an aborted prompt (Ctrl-C, a declined confirmation).
2
A usage error: unknown option, invalid value, missing operand, or an unparsable configuration file.

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