Skip to content

Commit

Permalink
evaluate workflow for cancelled status
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Sep 1, 2023
1 parent 6bc58c2 commit 0955f71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ jobs:
runs-on: ubuntu-20.04
needs: [ fablab-smoketest ]
steps:
# allow time for investigation unless the smoketest succeeded or was skipped or the job was cancelled
# allow time for investigation unless the workflow is cancelled or the smoketest succeeded or was skipped
- name: Sleep If Failed
if: ! contains(fromJson('["success","skipped","cancelled"]'), needs.fablab-smoketest.result)
if: !cancelled() && !contains(fromJSON('["success", "skipped"]'), needs.fablab-smoketest.result)
run: |
sleep 30m
Expand Down

0 comments on commit 0955f71

Please sign in to comment.