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

chore: fixed test

This commit is contained in:
Tonye Jack 2022-10-02 07:05:07 -06:00 committed by GitHub
parent de63afb341
commit 8b5e11a2b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,7 +136,14 @@ jobs:
- name: Run changed-files with a single commit history
id: changed-files
continue-on-error: true
uses: ./
- name: Exit with 1 if no error is raised
if: steps.changed-files.outcome != 'failure' && github.event.action == 'closed'
run: |
echo "Expected: (failure) got ${{ steps.changed-files.outcome }}"
exit 1
- name: Show output
run: |