From 68a97a898ded42ae1aa850b5e825f946185af96f Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 7 May 2022 08:04:43 +0200 Subject: [PATCH] Disable scheduled notification in CI --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ff57b270..96575f034 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -327,7 +327,7 @@ jobs: # Discord notification can't handle schedule events if: (github.event_name != 'schedule') permissions: - repository-projects: read + repository-projects: read steps: - name: Check user permission @@ -419,7 +419,7 @@ jobs: - name: Discord notification uses: rjstone/discord-webhook-notify@v1 - if: always() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false) + if: always() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false) && (github.event_name != 'schedule') with: severity: info details: Deploy Succeeded!