Skip to content

Commit

Permalink
fix: update SonarCloud scan condition to check for non-forked reposit…
Browse files Browse the repository at this point in the history
…ories
  • Loading branch information
liudger committed Oct 8, 2024
1 parent d1373e5 commit 3283520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- name: 🚀 Upload coverage report
uses: codecov/[email protected]
- name: SonarCloud Scan
if: github.repository_owner == 'liudger'
if: github.event.pull_request.head.repo.fork == false
uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 3283520

Please sign in to comment.