From af670df515626442d5da95afb62be4c9654e36e9 Mon Sep 17 00:00:00 2001 From: tison Date: Fri, 24 May 2024 18:16:06 +0800 Subject: [PATCH] ci: skip notification for manual releases (#4033) Signed-off-by: tison --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57121fa854..a959eb6ed0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -441,7 +441,7 @@ jobs: github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} notification: - if: ${{ github.repository == 'GreptimeTeam/greptimedb' && always() }} + if: ${{ github.repository == 'GreptimeTeam/greptimedb' && (github.event_name == 'push' || github.event_name == 'schedule') && always() }} name: Send notification to Greptime team needs: [ release-images-to-dockerhub,