Skip to content

Commit

Permalink
fix: publish error
Browse files Browse the repository at this point in the history
  • Loading branch information
alkoleft committed Jun 3, 2024
1 parent b54cac8 commit 5efb366
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/github/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class GithubMerge {
body: string,
params: GitReviewParam[]
): Promise<Review | null> {
core.debug(`createReviewComments ${JSON.stringify(params)}`)
core.debug(`createReviewComments`)

const comments: any = []
for (const i in params) {
Expand All @@ -72,6 +72,7 @@ export class GithubMerge {
return null
}

core.debug('createReview')
const response = await this.octokit.rest.pulls.createReview({
...this.repo,
pull_number: this.pull_number,
Expand Down

0 comments on commit 5efb366

Please sign in to comment.