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 <oss@mmarchini.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
Evan Lucas authored and Shelley Vohr committed 2020-08-10 21:21:54 -07:00
1 parent 4369c2af43
commit f0b364fa01
1 file changed
+1
+1
View File
@@ -13,6 +13,7 @@ on:
jobs:
startCI:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master