Update tests.yml

This commit is contained in:
Moritz
2023-04-21 17:24:06 +02:00
committed by GitHub
parent bf02b2ecb4
commit 259dfaed11

View File

@@ -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: