From 2f2609d8c645e8cf4b68b9ad1a50ec320b75fb9c Mon Sep 17 00:00:00 2001 From: Ruihang Xia Date: Tue, 7 Feb 2023 15:22:32 +0800 Subject: [PATCH] build(ci): disable release workflow for forked repo (#954) Signed-off-by: Ruihang Xia --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24e3fa854c..658dd86a81 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,6 +40,7 @@ jobs: os: macos-latest file: greptime-darwin-amd64 runs-on: ${{ matrix.os }} + if: github.repository == 'GreptimeTeam/greptimedb' steps: - name: Checkout sources uses: actions/checkout@v3 @@ -132,6 +133,7 @@ jobs: name: Release artifacts needs: [build] runs-on: ubuntu-latest + if: github.repository == 'GreptimeTeam/greptimedb' steps: - name: Checkout sources uses: actions/checkout@v3 @@ -174,6 +176,7 @@ jobs: name: Build docker image needs: [build] runs-on: ubuntu-latest + if: github.repository == 'GreptimeTeam/greptimedb' steps: - name: Checkout sources uses: actions/checkout@v3