From 44ebd2053aeffaf9a080d6cae80f037f34830b5c Mon Sep 17 00:00:00 2001 From: Linus Gasser Date: Thu, 10 Oct 2024 11:53:32 +0200 Subject: [PATCH] Check the source repo of the PR and not the destination repo --- .github/workflows/go_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go_test.yml b/.github/workflows/go_test.yml index f5f85d6e..2b4d7e09 100644 --- a/.github/workflows/go_test.yml +++ b/.github/workflows/go_test.yml @@ -18,7 +18,7 @@ jobs: runs-on: ${{matrix.platform}} env: LLVL: trace - coverage: ${{ matrix.platform == 'ubuntu-latest' && github.repository == 'dedis/dela' }} + coverage: ${{ matrix.platform == 'ubuntu-latest' && github.event.pull_request.head.repo.full_name == 'dedis/dela' }} steps: - name: Check out code into the Go module directory uses: actions/checkout@v4