Update test.yml

This commit is contained in:
Tonye Jack
2023-09-19 14:21:54 -06:00
committed by GitHub
parent eeb169a9f9
commit a21a533a0c

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