From 78dfef84dbb445fc0e13da7e4a853931423c94bc Mon Sep 17 00:00:00 2001 From: Paul Lin Date: Wed, 19 Jan 2022 16:22:58 +0800 Subject: [PATCH] [KYUUBI #1804]Avoid nightly build for forked repos ### _Why are the changes needed?_ ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1805 from link3280/improvement/KYUUBI-1804. Closes #1804 4f423ee6 [Paul Lin] [KYUUBI #1804]Avoid nightly build for forked repos Authored-by: Paul Lin Signed-off-by: Cheng Pan --- .github/workflows/nightly.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 067e3c266..fd7be3fdb 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -7,6 +7,7 @@ on: jobs: build: name: Build + if: ${{ startsWith(github.repository, 'apache/') }} runs-on: ubuntu-20.04 strategy: matrix: