3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-17 09:17:46 +00:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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