chore(actions): also run on reopened pr

This commit is contained in:
Jan De Dobbeleer 2022-10-21 09:00:06 +02:00 committed by Jan De Dobbeleer
parent 81a75201c4
commit 6cc309d00b

View file

@ -1,7 +1,7 @@
name: Close Themes PR
on:
pull_request:
types: [opened]
types: [opened, reopened, edited]
jobs:
publish:
@ -34,7 +34,7 @@ jobs:
for (const file in response.data) {
console.log(`File: ${file}`);
if (file.status === 'added' && file.filename.includes('themes/')) {
console.log(`File: ${file.filename}` is a theme addition);
console.log(`File: ${file.filename} is a theme addition`);
hasThemeAdditions = true;
break;
}