1
0
Fork 0

fix: Deal with dependabot author info not being set

This commit is contained in:
joostdecock 2023-07-21 10:57:16 +02:00
parent 4a1483d6de
commit 8229b4e09e

View file

@ -46,7 +46,7 @@ export const shouldSkipBuild = (site, checkFolders = '../shared .') => {
} }
// Do not build dependabot PRs // Do not build dependabot PRs
if (author.toLowerCase().includes('dependabot')) { if (branch.toLowerCase().includes('dependabot')) {
console.log('🛑 Not building: Dependabot PR') console.log('🛑 Not building: Dependabot PR')
process.exit(0) process.exit(0)
} }