From d15f44edd04dc7e4d72ceb0e1f838cc8e59a9ed3 Mon Sep 17 00:00:00 2001 From: Licho Date: Sat, 6 Apr 2024 11:04:17 +0200 Subject: [PATCH] fixed PR build check failing on forked repo PR --- .github/workflows/test_pullrequest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_pullrequest.yml b/.github/workflows/test_pullrequest.yml index 48a5f7cea..b29d364b9 100644 --- a/.github/workflows/test_pullrequest.yml +++ b/.github/workflows/test_pullrequest.yml @@ -51,8 +51,8 @@ jobs: shell: cmd - name: Test Report C# + if: (github.event.pull_request.head.repo.full_name == github.repository) && (success() || failure()) # run this step even if previous step failed but not on PR from forked repo uses: dorny/test-reporter@v1 - if: success() || failure() # run this step even if previous step failed with: name: Test results C# # Name of the check run which will be created path: TestResults/test-results.trx