ci: skip notification for manual releases (#4033)

Signed-off-by: tison <wander4096@gmail.com>
This commit is contained in:
tison
2024-05-24 18:16:06 +08:00
committed by GitHub
parent a58256d4d3
commit af670df515

View File

@@ -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,