Skip to content

Commit

Permalink
Merge pull request #1125 from elementary-data/ele-1158-change-if-work…
Browse files Browse the repository at this point in the history
…flow-syntax

Fix condition syntax in workflow
  • Loading branch information
Noa Kurman authored Sep 3, 2023
2 parents 31ee080 + 39c11a7 commit e637e83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-all-warehouses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
if: |
always() &&
! cancelled() &&
!contains(needs.test.result, 'success') &&
!contains(needs.test.result, 'cancelled')
! contains(needs.test.result, 'success') &&
! contains(needs.test.result, 'cancelled')
uses: ./.github/workflows/notify_slack.yml
with:
result: "failure"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ jobs:
needs: test
if: |
always() &&
contains(needs.test.result, 'failure') &&
! cancelled() &&
! contains(needs.test.result, 'success') &&
! contains(needs.test.result, 'cancelled')
${{ github.event_name == 'schedule' }}
uses: ./.github/workflows/notify_slack.yml
with:
Expand Down

0 comments on commit e637e83

Please sign in to comment.