build: allow test-internet on forks if not scheduled

Refs: https://github.com/nodejs/node/pull/44054#issuecomment-1200246681
PR-URL: https://github.com/nodejs/node/pull/44073
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Mestery <mestery@protonmail.com>
This commit is contained in:
Rich Trott
2022-08-02 04:21:40 -07:00
committed by GitHub
parent 8cf33850be
commit 32ffa5d097

View File

@@ -29,7 +29,7 @@ permissions:
jobs:
test-internet:
if: github.repository == 'nodejs/node'
if: github.repository == 'nodejs/node' || github.event_name != 'schedule'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3