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