Skip to content

fix(github): 复用已 merged 的 PR,避免重复开 PR - #49

Merged
stack-wuh merged 1 commit into
mainfrom
fix/pr-reuse-on-merged
Oct 10, 2026
Merged

stack-wuh merged 1 commit into
mainfrom
fix/pr-reuse-on-merged

Conversation

@stack-wuh

Copy link
Copy Markdown
Owner

PR 合并后 brief 的 pullRequest 被 review 复验回写清空,publish 只查 state=open 于是重复开 PR(x.wuh.site#526 实证)。改为 findPr(state=all) 优先 open、否则复用最近一条;pr() 字段缺失时按分支回查回填。含 2 条回归测试。

@stack-wuh
stack-wuh merged commit c4ba913 into main Oct 10, 2026
9 checks passed
@stack-wuh
stack-wuh deleted the fix/pr-reuse-on-merged branch October 10, 2026 01:34
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