Skip to content

Commit

Permalink
Merge pull request #665 from tj-actions/chore/fixed-test
Browse files Browse the repository at this point in the history
chore: fixed test
  • Loading branch information
jackton1 committed Oct 2, 2022
2 parents de63afb + 8b5e11a commit a86508a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
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 a86508a

Please sign in to comment.