Skip to content

fix(ci): winget workflow when PR already exists - #97

Merged
huyplb merged 1 commit into
mainfrom
cursor/fix-winget-pr-exists
Jul 24, 2026
Merged

fix(ci): winget workflow when PR already exists#97
huyplb merged 1 commit into
mainfrom
cursor/fix-winget-pr-exists

Conversation

@huyplb

@huyplb huyplb commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Treat `gh pr create` "already exists" as success (updates #407134 branch instead of failing)
  • Sparse-clone winget-pkgs to avoid slow untracked-file enumeration
  • Skip empty commits when manifests are unchanged

Test plan

  • Re-run Publish to WinGet for v0.1.67 — submit job should succeed and print PR URL

Made with Cursor

PR create failed the job when #407134 already existed. Detect open PRs,
treat 'already exists' as success, and sparse-clone winget-pkgs.

Co-authored-by: Cursor <cursoragent@cursor.com>
@huyplb
huyplb merged commit e2e772a into main Jul 24, 2026
@huyplb
huyplb deleted the cursor/fix-winget-pr-exists branch July 24, 2026 01:30
@cursor

cursor Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_cd2a51aa-da3f-4486-b86e-b9ba06858e9d)

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