Skip to content

fix: close stale upgrade PRs when creating new one#105

Merged
robcohen merged 1 commit intomainfrom
fix/close-stale-upgrade-prs
Apr 3, 2026
Merged

fix: close stale upgrade PRs when creating new one#105
robcohen merged 1 commit intomainfrom
fix/close-stale-upgrade-prs

Conversation

@robcohen
Copy link
Copy Markdown
Member

@robcohen robcohen commented Apr 3, 2026

Summary

When a new rustledger version is released, close any existing open upgrade PRs before creating a new one.

This prevents accumulation of stale PRs (e.g., #95 and #97 being superseded by #103).

Changes

Added a step to the update-rustledger.yml workflow that:

  1. Finds all open PRs with branches matching chore/upgrade-rustledger-*
  2. Closes them with a comment explaining they're superseded
  3. Deletes the associated branches

🤖 Generated with Claude Code

When a new rustledger version is released, close any existing open
upgrade PRs before creating a new one. This prevents accumulation of
stale PRs like #95 and #97 being superseded by #103.
@robcohen robcohen enabled auto-merge (squash) April 3, 2026 16:16
@robcohen robcohen merged commit 4b6724f into main Apr 3, 2026
23 checks passed
@robcohen robcohen deleted the fix/close-stale-upgrade-prs branch April 3, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant