1
0
This commit is contained in:
Stephan 2022-01-10 14:37:03 +01:00
parent d3f5d490e6
commit 7df140fdbb

View File

@ -15,8 +15,6 @@
module.exports = ({github, context}) => { module.exports = ({github, context}) => {
console.log('assign-milestones')
const restapi = github.rest const restapi = github.rest
// get and validate the event name // get and validate the event name
@ -27,11 +25,13 @@ module.exports = ({github, context}) => {
// get and validate the event action // get and validate the event action
const eventAction = github.event.action const eventAction = github.event.action
if (eventAction != 'created' && eventAction != 'deleted') { if (false && eventAction != 'created' && eventAction != 'deleted') {
return return
} }
console.log(`event: ${eventName}/${eventAction}`) console.log(`event: ${eventName}/${eventAction}`)
console.log(context);
console.log(context.payload);
/* /*