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>
pull/34670/head
Evan Lucas 2020-08-06 11:48:49 -05:00 committed by Mary Marchini
parent 262d0d0482
commit ac5773b1c3
No known key found for this signature in database
GPG Key ID: BE516BA4874DB4D9
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ on:
jobs:
startCI:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master