From fec5aa342a8fbba373f746f0b6b855b797614bc3 Mon Sep 17 00:00:00 2001 From: Linus Gasser Date: Thu, 10 Oct 2024 11:53:32 +0200 Subject: [PATCH] Check if SONAR_TOKEN is set or not --- .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..7ed0a226 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' && secrets.SONAR_TOKEN != '' }} steps: - name: Check out code into the Go module directory uses: actions/checkout@v4