From f1101d51bcc4f8b4885c512812c3e168c11aac4c Mon Sep 17 00:00:00 2001 From: Stephan Date: Mon, 10 Jan 2022 14:41:24 +0100 Subject: [PATCH] fix --- .github/workflows/assign-milestones.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/assign-milestones.js b/.github/workflows/assign-milestones.js index 631ffb3..acdd66d 100644 --- a/.github/workflows/assign-milestones.js +++ b/.github/workflows/assign-milestones.js @@ -17,7 +17,11 @@ module.exports = ({github, context}) => { const restapi = github.rest - console.log(`event: ${github.event_name}/${github.event.action}`) + console.log(github) + console.log(context) + console.log(context.payload) + + //console.log(`event: ${github.event_name}/${github.event.action}`) // get and validate the event name const eventName = github.event_name @@ -32,8 +36,8 @@ module.exports = ({github, context}) => { } console.log(`event: ${eventName}/${eventAction}`) - console.log(context); - console.log(context.payload); + console.log(context) + console.log(context.payload) /*