mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Fix PRs sometimes not getting reopened with commitMode: github-api (#488)
* Fix PRs sometimes not getting reopened There was a race-condition that means sometimes existing PRs would not be found, and new PRs would be opened. This has now been fixed by fetching existing PRs before making any changes. fixes #487 * Apply suggestions from code review --------- Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
This commit is contained in:
co-authored by
Mateusz Burzyński
parent
0564b8428f
commit
022692ba02
@@ -0,0 +1,10 @@
|
||||
---
|
||||
"@changesets/action": patch
|
||||
---
|
||||
|
||||
Fix PRs sometimes not getting reopened with `commitMode: github-api`
|
||||
|
||||
There was a race-condition that means sometimes existing PRs would not be found,
|
||||
and new PRs would be opened. This has now been fixed by fetching existing PRs
|
||||
before making any changes.
|
||||
|
||||
Reference in New Issue
Block a user