add logging for debugging

This commit is contained in:
jpaul 2023-11-27 15:02:00 +01:00
parent 9186a025e4
commit 89cbb59b8e
3 changed files with 3 additions and 0 deletions

1
dist/cleanup/index.js generated vendored
View File

@ -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

1
dist/main/index.js generated vendored
View File

@ -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

View File

@ -156,6 +156,7 @@ export async function generateReports(): Promise<void> {
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)
}