From b506d16aa5ac97ad44842c4e985130af20f4a60a Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 25 Sep 2024 07:50:02 -0600 Subject: [PATCH] fix: test for since last remote commit check on pull_request closed --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 05c11b86c7c..b947949b3c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1119,9 +1119,9 @@ jobs: since_last_remote_commit: true - name: Verify succeeded pull_request(closed) - if: steps.changed-files-since-last-remote-commit.outcome != 'failure' && matrix.fetch-depth == 1 && github.event.action == 'closed' && github.event_name == 'pull_request' + if: steps.changed-files-since-last-remote-commit.outcome != 'success' && 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 }}" + echo "Expected: (success) got ${{ steps.changed-files-since-last-remote-commit.outcome }}" exit 1 - name: Verify succeeded