From 9463faa2f71d64ecca957176264d095539894496 Mon Sep 17 00:00:00 2001 From: ilya Date: Mon, 6 Jan 2025 13:15:39 +0000 Subject: [PATCH] [TRIVIAL] Run forked-node tests on main (#3210) After https://github.com/cowprotocol/services/pull/3201, the forked-node tests are no longer triggered on the `main` branch since the filter is configured for pull requests only. This PR fixes this. --- .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..c3613f34b7 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: