From ac5773b1c302409c472aafea19ab13bb17320ba9 Mon Sep 17 00:00:00 2001 From: Evan Lucas Date: Thu, 6 Aug 2020 11:48:49 -0500 Subject: [PATCH] build: do not run auto-start-ci on forks Previously, the auto-start-ci action would run on forks. Without the secrets, the action would fail over and over again. This caused a lot of email spam. Now, we only run this action when the repository is nodejs/node. PR-URL: https://github.com/nodejs/node/pull/34650 Reviewed-By: Mary Marchini Reviewed-By: James M Snell Reviewed-By: Richard Lau --- .github/workflows/auto-start-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/auto-start-ci.yml b/.github/workflows/auto-start-ci.yml index 4d12894a5f3..0bc9e7c1c65 100644 --- a/.github/workflows/auto-start-ci.yml +++ b/.github/workflows/auto-start-ci.yml @@ -13,6 +13,7 @@ on: jobs: startCI: + if: github.repository == 'nodejs/node' runs-on: ubuntu-latest steps: - uses: actions/checkout@master