fix: error with test (#1589)

This commit is contained in:
Tonye Jack
2023-09-19 12:10:14 -06:00
committed by GitHub
parent dacbaebcaf
commit dbf0700c7a

View File

@@ -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