From 76aec30a2047b15436ff03c70f2c448f8fa1513e Mon Sep 17 00:00:00 2001 From: ilya Date: Wed, 1 Jan 2025 12:13:27 +0000 Subject: [PATCH] Do not run forked-node tests for external contributions --- .github/workflows/pull-request.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index e393d33105..372f1670bf 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -120,6 +120,8 @@ jobs: - run: cargo nextest run -p e2e local_node --test-threads 1 --failure-output final --run-ignored ignored-only test-forked-node: + # Do not run this job on forks since some secrets are required for it. + if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} timeout-minutes: 60 runs-on: ubuntu-latest env: