Skip to content

Commit

Permalink
Merge pull request #273 from mgovers/main
Browse files Browse the repository at this point in the history
Only run sonar cloud when PGM org is repo owner
  • Loading branch information
mgovers authored Sep 3, 2024
2 parents 11e5326 + 4e23b80 commit 4790212
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-test-and-sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
sed -i 's@/home/runner/work/power-grid-model-io/power-grid-model-io@/github/workspace@g' coverage.xml
- name: SonarCloud Scan
if: ${{ (github.event_name == 'push') || (github.event.pull_request.head.repo.owner.login == 'PowerGridModel') }}
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 4790212

Please sign in to comment.