From 178018143d64634ad37f67447a8b3574393abc45 Mon Sep 17 00:00:00 2001 From: tison Date: Mon, 11 Dec 2023 10:34:59 +0800 Subject: [PATCH] ci: prevent running nightly CI in forks (#2898) Signed-off-by: tison --- .github/workflows/nightly-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/nightly-ci.yml b/.github/workflows/nightly-ci.yml index 53b9370027..bd0326b512 100644 --- a/.github/workflows/nightly-ci.yml +++ b/.github/workflows/nightly-ci.yml @@ -17,6 +17,7 @@ env: jobs: sqlness: name: Sqlness Test + if: ${{ github.repository == 'GreptimeTeam/greptimedb' }} runs-on: ${{ matrix.os }} strategy: matrix: @@ -51,6 +52,7 @@ jobs: retention-days: 3 test-on-windows: + if: ${{ github.repository == 'GreptimeTeam/greptimedb' }} runs-on: windows-latest-8-cores timeout-minutes: 60 steps: