Skip to content

Commit 77be81b

Browse files
authored
Fixed a regression making it impossible to sync new versions of versioning pull requests with base branch updates (#705)
* Fixed a regression making it impossible to sync new versions of versioning pull requests with base branch updates when using GitHub API pushes * update ghcommit
1 parent cb3f011 commit 77be81b

5 files changed

Lines changed: 12 additions & 7 deletions

File tree

‎.changeset/green-birds-push.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@changesets/action": patch
3+
---
4+
5+
Fixed a regression making it impossible to sync new versions of versioning pull requests with base branch updates when using GitHub API pushes.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@actions/exec": "^3.0.0",
2525
"@actions/github": "^9.1.1",
2626
"@changesets/get-release-plan": "^5.0.0-next.7",
27-
"@changesets/ghcommit": "^3.0.0-next.1",
27+
"@changesets/ghcommit": "^3.0.0",
2828
"@changesets/git": "^4.0.0-next.6",
2929
"@changesets/pre": "^3.0.0-next.6",
3030
"@changesets/read": "^1.0.0-next.7",

‎pnpm-lock.yaml‎

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ minimumReleaseAgeExclude:
1212
- "@changesets/get-dependents-graph@3.0.0-next.6"
1313
- "@changesets/get-github-info@1.0.0-next.3"
1414
- "@changesets/get-release-plan@5.0.0-next.7"
15-
- "@changesets/ghcommit@3.0.0-next.1"
1615
- "@changesets/git@4.0.0-next.6"
1716
- "@changesets/parse@1.0.0-next.7"
1817
- "@changesets/pre@3.0.0-next.6"

‎src/github.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ export class GitHub {
253253
base: {
254254
commit: context.sha,
255255
},
256+
force: true,
256257
cwd: this.cwd,
257258
});
258259
return;

0 commit comments

Comments
 (0)