ci: fix notification trigger (#1673)

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-04-18 14:50:36 +02:00 committed by GitHub
parent bf0d169cf6
commit 4b9bce9bb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -105,7 +105,7 @@ jobs:
if: |
failure() &&
github.ref == 'refs/heads/main' &&
github.event == 'schedule'
github.event_name == 'schedule'
continue-on-error: true
uses: ./.github/actions/notify_failure
with:

View File

@ -228,7 +228,7 @@ jobs:
if: |
failure() &&
github.ref == 'refs/heads/main' &&
github.event == 'schedule'
github.event_name == 'schedule'
continue-on-error: true
uses: ./.github/actions/notify_failure
with:
@ -257,4 +257,4 @@ jobs:
cloudProvider: ${{ matrix.cloudProvider }}
workerNodesCount: 2
controlNodesCount: 3
scheduled: ${{ github.event == 'schedule' }}
scheduled: ${{ github.event_name == 'schedule' }}

View File

@ -200,7 +200,7 @@ jobs:
if: |
failure() &&
github.ref == 'refs/heads/main' &&
github.event == 'workflow_call' &&
github.event_name == 'workflow_call' &&
inputs.scheduled == 'true'
continue-on-error: true
uses: ./.github/actions/notify_failure