From dbf0700c7ac336b1ceed2ac8fe1b02d4cd3ac84f Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 19 Sep 2023 12:10:14 -0600 Subject: [PATCH] fix: error with test (#1589) --- .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 79763f47..e7f7d1b6 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_name != 'push' && github.event_name != 'pull_request_target' + if: steps.changed-files-since-last-remote-commit.outcome != 'failure' && matrix.fetch-depth == 1 && github.event.action == 'closed' run: | echo "Expected: (failure) got ${{ steps.changed-files-since-last-remote-commit.outcome }}" exit 1