Skip to content

fix(winget): skip submission when an update PR is already open#157

Merged
dvalfrid merged 1 commit into
mainfrom
fix/winget-submit-skip-if-open-pr
Jul 7, 2026
Merged

fix(winget): skip submission when an update PR is already open#157
dvalfrid merged 1 commit into
mainfrom
fix/winget-submit-skip-if-open-pr

Conversation

@dvalfrid

@dvalfrid dvalfrid commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • winget-submit.yml fires unconditionally after every release, which can stack multiple open PRs against microsoft/winget-pkgs for the same package if releases ship faster than moderators can review them — extra manual burden on volunteer moderators (see Only allow 1 or 2 "New version" PR(s) per package to be open at a time, to reduce the PR backlog. microsoft/winget-pkgs#333536 for the backlog problem this causes at scale).
  • Added a check before the wingetcreate submit step: if an open PR titled Codeby.RIGStats already exists in microsoft/winget-pkgs, skip the run entirely. The next release's run will pick up the latest version once the open PR merges.

Test plan

  • Merge, then verify a future release run either submits normally (no open PR) or logs "Skipping submission" and exits cleanly (open PR present)

Submitting a new version while a previous one is still under review
stacks up open PRs against microsoft/winget-pkgs and adds needless
work for their moderators. Check for an open Codeby.RIGStats PR first
and skip the run if one exists — the next release after it merges
will pick up the latest version.
@dvalfrid dvalfrid merged commit 74d7d32 into main Jul 7, 2026
5 checks passed
@dvalfrid dvalfrid deleted the fix/winget-submit-skip-if-open-pr branch July 7, 2026 17:17
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