Skip to content

Commit

Permalink
Disable Sonarcloud analysis on forks
Browse files Browse the repository at this point in the history
Because it won't work without a token anyway.

I went with the same condition as the CodeQL analysis:
https://github.com/quarkusio/quarkus/blob/a7d39b0341e3fda56fd594836a303eac864f8920/.github/workflows/codeql-analysis.yml#L17
  • Loading branch information
yrodiere committed Dec 2, 2024
1 parent 2c31260 commit c977d51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
if: github.repository == 'quarkusio/quarkus'

steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit c977d51

Please sign in to comment.