From 166a177fb7af473efbb05a06b45fa67a456469e2 Mon Sep 17 00:00:00 2001 From: Ryan The Date: Sat, 3 Oct 2020 12:42:57 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index ba43a4c..3498928 100644 --- a/index.js +++ b/index.js @@ -31,7 +31,10 @@ const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN }); console.error("Failed: ", e) core.setFailed("Failed: ", e.message) }) + console.log(getActivity) + console.log(getActivity.data) for (const value of getActivity.data) { + console.log(value) let activityRepo = value.repo.name if (value.type === "ForkEvent") activityRepo = value.payload.forkee.full_name if (!JSON.parse(core.getInput('excludeActivity')).includes(value.type) && !JSON.parse(core.getInput('excludeRepo')).includes(activityRepo)) {