Skip to content

Commit d79aad8

Browse files
authored
tools: fix skip of test-internet on forks
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #63492 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
1 parent 8c3e9bd commit d79aad8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test-internet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ permissions:
4444

4545
jobs:
4646
test-internet:
47-
if: github.event_name == 'schedule' && github.repository == 'nodejs/node' || github.event.pull_request.draft == false
47+
if: (github.event_name == 'schedule' && github.repository == 'nodejs/node') || (github.event.pull_request && github.event.pull_request.draft == false)
4848
runs-on: ubuntu-24.04-arm
4949
steps:
5050
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

0 commit comments

Comments
 (0)