From 5a18dc7c5c5d758b2c901d63c21cdf4ee897e744 Mon Sep 17 00:00:00 2001 From: ilya Date: Mon, 6 Jan 2025 11:52:05 +0000 Subject: [PATCH 1/2] [TRIVIAL] Run forked-node tests on main --- .github/workflows/pull-request.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 372f1670bf..ea487f485d 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -121,7 +121,9 @@ jobs: 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 }} + if: | + github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository || + github.event_name == 'push' && github.ref == 'refs/heads/main' timeout-minutes: 60 runs-on: ubuntu-latest env: From 9539d898ff558a4b364540552efb39c7bb381234 Mon Sep 17 00:00:00 2001 From: ilya Date: Mon, 6 Jan 2025 13:10:02 +0000 Subject: [PATCH 2/2] Parenthesis --- .github/workflows/pull-request.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index ea487f485d..c3613f34b7 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -122,8 +122,8 @@ jobs: test-forked-node: # Do not run this job on forks since some secrets are required for it. if: | - github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository || - github.event_name == 'push' && github.ref == 'refs/heads/main' + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || + (github.event_name == 'push' && github.ref == 'refs/heads/main') timeout-minutes: 60 runs-on: ubuntu-latest env: