From 36c4d018eac45535ff97fb0dc7a8133d57c84f91 Mon Sep 17 00:00:00 2001 From: Jonas Bovin Date: Wed, 23 Nov 2022 08:26:24 +0100 Subject: [PATCH] Changed to update --- dist/index.js | 2 +- src/se.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index e4cc202..c5e4d7f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -13695,7 +13695,7 @@ class se_Helper { return result; } async completeCheck(name, id, conclusionString) { - const result = await this.github.rest.checks.create({ + const result = await this.github.rest.checks.update({ owner: this.currentBuild.repo.owner, repo: this.currentBuild.repo.repo, name: name, diff --git a/src/se.ts b/src/se.ts index b4e6e60..96a2ef3 100644 --- a/src/se.ts +++ b/src/se.ts @@ -121,7 +121,7 @@ export class Helper { id: string, conclusionString: string ) { - const result = await this.github.rest.checks.create({ + const result = await this.github.rest.checks.update({ owner: this.currentBuild.repo.owner, repo: this.currentBuild.repo.repo, name: name,