From c852d0184980a9d7059d50893c001321de911d96 Mon Sep 17 00:00:00 2001 From: Muunatic Date: Mon, 11 Dec 2023 18:55:24 +0700 Subject: [PATCH] fix: cast 'head_sha' as string --- src/class/push.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/class/push.ts b/src/class/push.ts index f6336ff..0170561 100644 --- a/src/class/push.ts +++ b/src/class/push.ts @@ -116,7 +116,7 @@ export default class Push { owner: "Muunatic", repo: "Muunatic", name: "typeslint/ci", - head_sha: this.context.payload.head_commit?.id, + head_sha: this.context.payload.head_commit?.id as string, status: "in_progress" }).then(async (resId) => { await octokit.rest.checks.update({ @@ -140,4 +140,5 @@ export default class Push { } } } + }