From 22b078f5e9cc6475e25f4ee1a0147d5a9f7c9918 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. --- .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 4d12894a5f3439..0bc9e7c1c65fc2 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