CI: don't run cron-fail-notify when the job just got canceled

Doesn't seem right to prepare a PR in that case
This commit is contained in:
Ralf Jung 2024-04-23 16:16:57 +02:00
parent 3b5d663135
commit 5d1654a40a

View File

@ -165,7 +165,7 @@ jobs:
name: cronjob failure notification name: cronjob failure notification
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [build, style] needs: [build, style]
if: github.event_name == 'schedule' && (failure() || cancelled()) if: github.event_name == 'schedule' && failure()
steps: steps:
# Send a Zulip notification # Send a Zulip notification
- name: Install zulip-send - name: Install zulip-send