Skip to content

Commit

Permalink
explicitly exit with status 0 on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmost committed Sep 11, 2024
1 parent 7ff4d07 commit 96e253e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test_failure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ jobs:
- name: Check that validation did not succeed
if: job.steps.test_failure.outcome != 'failure'
run: exit 1
- name: Succeed if validation failed
if: job.steps.test_failure.outcome != 'success'
run: exit 0

0 comments on commit 96e253e

Please sign in to comment.