Do post an overview if no changes were made
This commit is contained in:
parent
9e697f170f
commit
535de1fb54
1 changed files with 2 additions and 2 deletions
|
@ -85,10 +85,10 @@ export class Main {
|
|||
changesets = changesets.filter(cs => allowedThemes.has(cs.properties.theme))
|
||||
if (changesets.length == 0) {
|
||||
console.log("No changesets found for themes", action.themeWhitelist.join(", "))
|
||||
return console.log("No changesets found for themes", action.themeWhitelist.join(", "))
|
||||
}
|
||||
}else{
|
||||
console.log("Filtering for ", action.themeWhitelist, "yielded", changesets.length, "changesets (" + beforeCount + " before)")
|
||||
}
|
||||
}
|
||||
|
||||
console.log("Building post...")
|
||||
const yesterday = new Date(today.getTime() - 24 * 60 * 60 * 1000)
|
||||
|
|
Loading…
Reference in a new issue