Skip to content

Commit 8b25212

Browse files
committed
chore: don't run sonarCloud analysis for external PRs
Because they will fail due to SonarCloud not supporting running on external PRs anyway.
1 parent 7c90645 commit 8b25212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sonar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
sonarcloud:
1313
name: SonarCloud
1414
runs-on: ubuntu-latest
15-
if: ${{ github.repository_owner == 'nrkno' }}
15+
if: ${{ github.repository_owner == 'nrkno' && !github.event.pull_request.head.repo.fork }}
1616

1717
steps:
1818
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)