From 9c3b9600caeffca53d1e83ac1c08e3cd732021f1 Mon Sep 17 00:00:00 2001 From: tison Date: Mon, 6 May 2024 11:18:21 +0800 Subject: [PATCH] ci: avoid trying to send slack notification in forks (#3857) --- .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 37dd3c70a8..388eeccabf 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,