Skip to content

Commit

Permalink
[TRIVIAL] Run forked-node tests on main (#3210)
Browse files Browse the repository at this point in the history
After #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.
  • Loading branch information
squadgazzz authored Jan 6, 2025
1 parent 9b6743a commit 9463faa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9463faa

Please sign in to comment.