diff --git a/dist/index.js b/dist/index.js index 7314d31..e4cc202 100644 --- a/dist/index.js +++ b/dist/index.js @@ -13694,15 +13694,15 @@ class se_Helper { }); return result; } - async completeCheck(name, check_run_id, conclusion) { + async completeCheck(name, id, conclusionString) { const result = await this.github.rest.checks.create({ owner: this.currentBuild.repo.owner, repo: this.currentBuild.repo.repo, name: name, - check_run_id: check_run_id, + check_run_id: id, head_sha: this.currentBuild.sha, status: 'completed', - conclusion: conclusion + conclusion: conclusionString }); return result; } diff --git a/src/se.ts b/src/se.ts index 9f5ba77..b4e6e60 100644 --- a/src/se.ts +++ b/src/se.ts @@ -118,17 +118,17 @@ export class Helper { public async completeCheck( name: string, - check_run_id: string, - conclusion: string + id: string, + conclusionString: string ) { const result = await this.github.rest.checks.create({ owner: this.currentBuild.repo.owner, repo: this.currentBuild.repo.repo, name: name, - check_run_id: check_run_id, + check_run_id: id, head_sha: this.currentBuild.sha, status: 'completed', - conclusion: conclusion + conclusion: conclusionString }) return result }