Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/utils/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class Repository {
`git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5`,
);

return this._octokit.rest.pulls.create(<
return await this._octokit.rest.pulls.create(<
RestEndpointMethodTypes["pulls"]["create"]["parameters"]
>{
owner: this._config.repository?.owner,
Expand Down Expand Up @@ -165,7 +165,7 @@ export class Repository {
return;
}

return this._octokit.rest.issues.addAssignees(<
return await this._octokit.rest.issues.addAssignees(<
RestEndpointMethodTypes["issues"]["addAssignees"]["parameters"]
>{
owner: this._config.repository?.owner,
Expand All @@ -187,7 +187,7 @@ export class Repository {
return;
}

return this._octokit.rest.issues.addLabels(<
return await this._octokit.rest.issues.addLabels(<
RestEndpointMethodTypes["issues"]["addLabels"]["parameters"]
>{
owner: this._config.repository?.owner,
Expand Down