Skip to content

Commit 81ef7a4

Browse files
authored
fix(ci/cd): added missing !cancelled() to condition (#4974)
* fix(ci/cd): added missing `!cancelled()` to condition As a follow-up to #4895, we need to add a necessary [`!cancelled()`](#4963) * fix: syntax error * refactor: restructured
1 parent 5e0ed4e commit 81ef7a4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/default.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,12 @@ jobs:
218218
uses: ./.github/workflows/02-e2e-regenerated-snapshots-commit.yml
219219
secrets: inherit
220220
if: |
221-
needs.regenerate-snapshots-components.result == 'success' ||
222-
needs.regenerate-snapshots-foundations.result == 'success' ||
223-
needs.regenerate-snapshots-patternhub.result == 'success' ||
224-
needs.regenerate-snapshots.result == 'success'
221+
${{ !cancelled() &&
222+
( needs.regenerate-snapshots-components.result == 'success' ||
223+
needs.regenerate-snapshots-foundations.result == 'success' ||
224+
needs.regenerate-snapshots-patternhub.result == 'success' ||
225+
needs.regenerate-snapshots.result == 'success' )
226+
}}
225227
needs:
226228
[
227229
regenerate-snapshots-components,

0 commit comments

Comments
 (0)