Update @changesets/ghcommit to v3 beta (#675)

Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
This commit is contained in:
Bjorn Lu
2026-06-25 11:01:17 +00:00
committed by GitHub
co-authored by Mateusz Burzyński
parent 823cf741ca
commit a35a66bd1e
6 changed files with 13 additions and 363 deletions
-7
View File
@@ -321,13 +321,6 @@ export async function runVersion({
!!preState ? ` (${preState.tag})` : ""
}`;
/**
* Fetch any existing pull requests that are open against the branch,
* before we push any changes that may inadvertently close the existing PRs.
*
* (`@changesets/ghcommit` has to reset the branch to the same commit as the base,
* which GitHub will then react to by closing the PRs)
*/
const existingPullRequests = await octokit.rest.pulls.list({
...context.repo,
state: "open",