Skip to content

Commit

Permalink
Merge pull request #25 from c4dt/skip_sonarcloud
Browse files Browse the repository at this point in the history
Check the source repo of the PR and not the destination repo
  • Loading branch information
ineiti committed Oct 10, 2024
2 parents fe6f6b8 + fec5aa3 commit b364226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -62,10 +62,10 @@ jobs:

# notifies that all test jobs are finished.
finish:
if: github.repository == 'dedis/dela'
needs: test
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
if: ${{ secrets.SONAR_TOKEN != '' }}
with:
parallel-finished: true

0 comments on commit b364226

Please sign in to comment.