fix: Deal with dependabot author info not being set
This commit is contained in:
parent
4a1483d6de
commit
8229b4e09e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue