File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export class PullRequestFlow extends InBranchFlow {
6161 const existingPr = await this . octokit . rest . pulls . list ( {
6262 owner : this . config . repositoryOwner ,
6363 repo : this . config . repositoryName ,
64- head : i18nBranchName ,
64+ head : ` ${ this . config . repositoryOwner } : ${ i18nBranchName } ` ,
6565 base : this . config . baseBranchName ,
6666 state : 'open' ,
6767 } ) . then ( ( { data } ) => data [ 0 ] ) ;
@@ -84,7 +84,7 @@ export class PullRequestFlow extends InBranchFlow {
8484 const newPr = await this . octokit . rest . pulls . create ( {
8585 owner : this . config . repositoryOwner ,
8686 repo : this . config . repositoryName ,
87- head : this . i18nBranchName ! ,
87+ head : i18nBranchName ,
8888 base : this . config . baseBranchName ,
8989 title : this . config . pullRequestTitle ,
9090 body : this . getPrBodyContent ( ) ,
@@ -190,4 +190,4 @@ Hey team,
190190- [ ] Merge when ready
191191 ` . trim ( ) ;
192192 }
193- }
193+ }
You can’t perform that action at this time.
0 commit comments