From a21a533a0c244a27daac02f9dc6fcf8aeb996154 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 19 Sep 2023 14:21:54 -0600 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e7f7d1b6325..4de746cca20 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -845,7 +845,7 @@ jobs: since_last_remote_commit: true - name: Verify failed - if: steps.changed-files-since-last-remote-commit.outcome != 'failure' && matrix.fetch-depth == 1 && github.event.action == 'closed' + if: steps.changed-files-since-last-remote-commit.outcome != 'failure' && matrix.fetch-depth == 1 && github.event.action == 'closed' && github.event_name == 'pull_request' run: | echo "Expected: (failure) got ${{ steps.changed-files-since-last-remote-commit.outcome }}" exit 1