log event
This commit is contained in:
parent
8867b02c6c
commit
9124cdaa3c
2
index.js
2
index.js
|
@ -5,7 +5,7 @@ const { execSync } = require('child_process')
|
|||
Toolkit.run(async tools => {
|
||||
const pkg = tools.getPackageJSON()
|
||||
const event = tools.context.payload
|
||||
console.log('event:', event)
|
||||
console.log('payload:', event)
|
||||
|
||||
const messages = event.commits.map(commit => commit.message + '\n' + commit.body)
|
||||
|
||||
|
|
Loading…
Reference in New Issue