ci: avoid trying to send slack notification in forks (#3857)

This commit is contained in:
tison
2024-05-06 11:18:21 +08:00
committed by GitHub
parent 73fe075049
commit 9c3b9600ca

View File

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