From 96e563b738b4cd93ff1c10051d2232d5e65d799d Mon Sep 17 00:00:00 2001 From: Jacob McSwain Date: Tue, 2 Jul 2024 17:09:21 -0500 Subject: [PATCH] debug --- dist/index.js | 3 +++ src/index.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dist/index.js b/dist/index.js index 47ebf8e..f142424 100644 --- a/dist/index.js +++ b/dist/index.js @@ -36933,6 +36933,9 @@ try { if (debug) { core.info(`Type: "${type}"`); core.info(`Ref: "${ref}"`); + core.info(`Event: "${github.context.eventName}"`); + core.info(`Event action: "${github.context.action}"`); + core.info(js_yaml.dump(github.context.payload)); } let count = 0; diff --git a/src/index.js b/src/index.js index 32b011d..e58461e 100644 --- a/src/index.js +++ b/src/index.js @@ -20,6 +20,9 @@ try { if (debug) { core.info(`Type: "${type}"`); core.info(`Ref: "${ref}"`); + core.info(`Event: "${github.context.eventName}"`); + core.info(`Event action: "${github.context.action}"`); + core.info(yaml.dump(github.context.payload)); } let count = 0;