From 6cc309d00b4634a09e6d373f5b3f9e773bb19c4c Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Fri, 21 Oct 2022 09:00:06 +0200 Subject: [PATCH] chore(actions): also run on reopened pr --- .github/workflows/close_themes_pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/close_themes_pr.yml b/.github/workflows/close_themes_pr.yml index 1b8baffb..a97b3b6f 100644 --- a/.github/workflows/close_themes_pr.yml +++ b/.github/workflows/close_themes_pr.yml @@ -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; }