diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2f121537..81392e5c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -101,7 +101,7 @@ jobs: 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" + if: github.event.pull_request.head.repo.full_name == github.repository strategy: fail-fast: false matrix: