From be07e26a159d03a7198311b4ee416a45408c4ace Mon Sep 17 00:00:00 2001 From: Iceflower Date: Fri, 30 Sep 2022 18:18:04 +0200 Subject: [PATCH 1/2] [ts] Add debug logging [fox] Fox fox --- typescript/src/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/typescript/src/main.ts b/typescript/src/main.ts index 3270020..6f91357 100644 --- a/typescript/src/main.ts +++ b/typescript/src/main.ts @@ -7,6 +7,8 @@ import * as gh_utils from './gh-utils' async function run(): Promise { try { + core.debug(JSON.stringify(github.context)) + core.info(JSON.stringify(github.context)) const validator_file: string = core.getInput('validator_file') const validator_name: string = core.getInput('validator') const options: string[] = core.getMultilineInput('options') From 2ba0ee74d47738dcd7edeb5029e20acc34a5d594 Mon Sep 17 00:00:00 2001 From: Iceflower Date: Fri, 30 Sep 2022 18:21:12 +0200 Subject: [PATCH 2/2] [fox] Add test --- typescript/src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typescript/src/main.ts b/typescript/src/main.ts index 6f91357..c074a23 100644 --- a/typescript/src/main.ts +++ b/typescript/src/main.ts @@ -9,6 +9,7 @@ async function run(): Promise { try { core.debug(JSON.stringify(github.context)) core.info(JSON.stringify(github.context)) + const validator_file: string = core.getInput('validator_file') const validator_name: string = core.getInput('validator') const options: string[] = core.getMultilineInput('options')