From 88c78bb41126a9991821ca1a329e9d7bfcf0524d Mon Sep 17 00:00:00 2001 From: Moritz Date: Fri, 21 Apr 2023 16:15:27 +0200 Subject: [PATCH] only test binaryninja on non-forks --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 37f9371a..2f121537 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -96,9 +96,12 @@ jobs: run: pytest -v tests/ binja-tests: - name: Binary Ninja tests for ${{ matrix.python-version }} on ${{ matrix.os }} + name: Binary Ninja tests for ${{ matrix.python-version }} runs-on: ubuntu-20.04 needs: [code_style, rule_linter] + # do not run on forks, because: + # with the exception of GITHUB_TOKEN, secrets are not passed to the runner when a workflow is triggered from a forked repository. + if: "! github.event.pull_request.head.repo.fork" strategy: fail-fast: false matrix: