3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-17 13:47:20 +00:00

Update test.yml

This commit is contained in:
Tonye Jack 2022-09-23 23:26:19 -06:00 committed by GitHub
parent 9fdf62af89
commit 8e99cd3206
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -180,7 +180,7 @@ jobs:
uses: ./
- name: Exit with 1 if no error is raised
if: steps.changed-files.outcome != 'failure'
if: github.event_name == 'pull_request' && steps.changed-files.outcome != 'failure'
run: |
echo "Expected: (failure) got ${{ steps.changed-files.outcome }}"
exit 1