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