Merge pull request #665 from tj-actions/chore/fixed-test

chore: fixed test
This commit is contained in:
Tonye Jack 2022-10-02 07:13:56 -06:00 committed by GitHub
commit a86508a71e
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: |