From b484d1545ab02d171d95ccf87b70465ccf8c0e19 Mon Sep 17 00:00:00 2001 From: Christian Fehmer Date: Thu, 8 Aug 2024 13:05:07 +0200 Subject: [PATCH] ci: fix prettier failing on removed files (@fehmer) (#5742) --- .github/workflows/monkey-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/monkey-ci.yml b/.github/workflows/monkey-ci.yml index b42fe886d..fc136e9dd 100644 --- a/.github/workflows/monkey-ci.yml +++ b/.github/workflows/monkey-ci.yml @@ -150,7 +150,7 @@ jobs: pull_number: context.payload.pull_request.number, } ); - return changedFiles.map(file => file.filename).join(' '); + return changedFiles.filter(file=> file.status !== "removed").map(file => file.filename).join(' '); - name: Check pretty (changed files) if: github.event_name == 'pull_request'