Skip to content

Commit

Permalink
[TRIVIAL] Do not run forked-node tests for external contributions (#3201
Browse files Browse the repository at this point in the history
)

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.
  • Loading branch information
squadgazzz authored Jan 2, 2025
1 parent 0ff75fa commit de86178
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit de86178

Please sign in to comment.