Skip to content

Commit f78d6d6

Browse files
I-Al-IstannenZabuzard
authored andcommitted
Skip SonarCloud on fork PRs
1 parent d3b5e93 commit f78d6d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/code-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
sonar:
1515
name: SonarCloud
1616
runs-on: ubuntu-latest
17+
# Skip this on PRs from forks as it will fail anyways as it needs secrets
18+
if: ${{ !github.event.pull_request.head.repo.fork }}
1719
steps:
1820
- uses: actions/checkout@v2
1921
with:

0 commit comments

Comments
 (0)