From de86178beeac6eb46499a12b96970184468c5a35 Mon Sep 17 00:00:00 2001 From: ilya Date: Thu, 2 Jan 2025 10:07:29 +0000 Subject: [PATCH] [TRIVIAL] Do not run forked-node tests for external contributions (#3201) In order to avoid confusion when forked-node tests fail on external contributor PRs due to the absence of access to some secrets, let's avoid running this job on forked repos. --- .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: