added a console.log for messages
This commit is contained in:
parent
593acc75d9
commit
ac96246d24
1
index.js
1
index.js
|
@ -19,6 +19,7 @@ Toolkit.run(async tools => {
|
|||
const messages = event.commits ? event.commits.map(commit => commit.message + '\n' + commit.body) : []
|
||||
|
||||
const commitMessage = 'version bump to'
|
||||
console.log('messages:', messages);
|
||||
const isVersionBump = messages.map(message => message.toLowerCase().includes(commitMessage)).includes(true)
|
||||
if (isVersionBump) {
|
||||
tools.exit.success('No action necessary!')
|
||||
|
|
Loading…
Reference in New Issue