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 64e167c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 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,7 +62,8 @@ jobs:

# notifies that all test jobs are finished.
finish:
if: github.repository == 'dedis/dela'

if: ${{ secrets.SONAR_TOKEN != '' }}
needs: test
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 64e167c

Please sign in to comment.