From b3632ab0a09000ae38f5a2774006c7eafbb91200 Mon Sep 17 00:00:00 2001 From: tison Date: Mon, 6 May 2024 08:21:48 +0800 Subject: [PATCH] ci: avoid trying to send slack notification in forks --- .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 37dd3c70a8a5..388eeccabfc1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -436,7 +436,7 @@ jobs: github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} notification: - if: ${{ always() }} # Not requiring successful dependent jobs, always run. + if: ${{ always() || github.repository == 'GreptimeTeam/greptimedb' }} name: Send notification to Greptime team needs: [ release-images-to-dockerhub,