Skip to content

Commit

Permalink
feat: update workflow sonarcloud to disable execution in forked repos…
Browse files Browse the repository at this point in the history
…itories
  • Loading branch information
LitaGarcia committed Jan 17, 2025
1 parent 0d9bd3f commit 16956eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/run-pytest-and-sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
run: sed -i "s/<source>\/home\/cryptographic_estimators\/cryptographic_estimators<\/source>/<source>\/github\/workspace\/cryptographic_estimators<\/source>/g" coverage.xml

- name: SonarCloud Scan
if: ${{ !github.event.pull_request.head.repo.fork }}
uses: SonarSource/sonarcloud-github-action@master
with:
args: >
Expand Down

0 comments on commit 16956eb

Please sign in to comment.