From 89cbb59b8e082dc973fa93c503928d2f6cf37d68 Mon Sep 17 00:00:00 2001 From: jpaul Date: Mon, 27 Nov 2023 15:02:00 +0100 Subject: [PATCH] add logging for debugging --- dist/cleanup/index.js | 1 + dist/main/index.js | 1 + src/features/reports.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index 4ea5fbb..d38323f 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -81871,6 +81871,7 @@ function generateReports() { const shas = []; for (const pushEvent in pushEvents) { timestamps.push(JSON.parse(pushEvent).created_at); + core.info(JSON.parse(pushEvent)); shas.push(JSON.parse(pushEvent).payload.commits[0].sha); } // Extract data for plotting diff --git a/dist/main/index.js b/dist/main/index.js index 9e3d450..18ed6d9 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -81970,6 +81970,7 @@ function generateReports() { const shas = []; for (const pushEvent in pushEvents) { timestamps.push(JSON.parse(pushEvent).created_at); + core.info(JSON.parse(pushEvent)); shas.push(JSON.parse(pushEvent).payload.commits[0].sha); } // Extract data for plotting diff --git a/src/features/reports.ts b/src/features/reports.ts index 391e46c..ce9c6b5 100644 --- a/src/features/reports.ts +++ b/src/features/reports.ts @@ -156,6 +156,7 @@ export async function generateReports(): Promise { const shas = [] for (const pushEvent in pushEvents) { timestamps.push(JSON.parse(pushEvent).created_at) + core.info(JSON.parse(pushEvent)) shas.push(JSON.parse(pushEvent).payload.commits[0].sha) }