Skip to content

Commit

Permalink
chore: fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Oct 2, 2022
1 parent de63afb commit 8b5e11a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 8b5e11a

Please sign in to comment.