File tree 4 files changed +12
-12
lines changed
4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @changesets/action " : patch
3
+ ---
4
+
5
+ Update to latest version of ghcommit
Original file line number Diff line number Diff line change 41
41
"@changesets/read" : " ^0.5.3" ,
42
42
"@manypkg/get-packages" : " ^1.1.3" ,
43
43
"@octokit/plugin-throttling" : " ^5.2.1" ,
44
- "@s0/ghcommit" : " ^1.1 .0" ,
44
+ "@s0/ghcommit" : " ^1.2 .0" ,
45
45
"fs-extra" : " ^8.1.0" ,
46
46
"mdast-util-to-string" : " ^1.0.6" ,
47
47
"remark-parse" : " ^7.0.1" ,
Original file line number Diff line number Diff line change @@ -389,14 +389,9 @@ export async function runVersion({
389
389
390
390
await commitChangesFromRepo ( {
391
391
octokit,
392
- owner : github . context . repo . owner ,
393
- repository : github . context . repo . repo ,
392
+ ...github . context . repo ,
394
393
branch : versionBranch ,
395
- // TODO: switch this to use direct string input when supported
396
- message : {
397
- headline : finalCommitMessage . split ( "\n" , 2 ) [ 0 ] . trim ( ) ,
398
- body : finalCommitMessage . split ( "\n" , 2 ) [ 1 ] ?. trim ( ) ,
399
- } ,
394
+ message : finalCommitMessage ,
400
395
base : {
401
396
commit : github . context . sha ,
402
397
} ,
Original file line number Diff line number Diff line change 1618
1618
dependencies :
1619
1619
" @octokit/openapi-types" " ^17.2.0"
1620
1620
1621
- " @s0/ghcommit@^1.1 .0 " :
1622
- version "1.1 .0"
1623
- resolved "https://registry.yarnpkg.com/@s0/ghcommit/-/ghcommit-1.1 .0.tgz#789858feb3a9e9a799a6ce7abada988cd925c21f "
1624
- integrity sha512-1jEUzrfa9QvEdCaFicv2oc5ep9zFG4HE60vU48dIp+W1JzeOmPHOxNt9y5rE5TvXzTGAdLpoCvPnRrR6jCwFyw ==
1621
+ " @s0/ghcommit@^1.2 .0 " :
1622
+ version "1.2 .0"
1623
+ resolved "https://registry.yarnpkg.com/@s0/ghcommit/-/ghcommit-1.2 .0.tgz#27b7e474653f98fb8126e249db929180b025082c "
1624
+ integrity sha512-v3HlIX/OYWG32mT97JLPJQ2iCFI7hWtC2OONFoEAeiySAnbLhiToC1xlbT7fdlUcXTT2FktEJosfNbEbS9LniQ ==
1625
1625
dependencies :
1626
1626
isomorphic-git "^1.27.1"
1627
1627
You can’t perform that action at this time.
0 commit comments