Skip to content

Commit

Permalink
Re-enable SonarCloud analysis on default branch (#1029)
Browse files Browse the repository at this point in the history
This analysis was accidentally disabled by
ff3be8a.
  • Loading branch information
Stephan202 authored Feb 12, 2024
1 parent 433b8b9 commit 1fe6767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
analyze:
# Analysis of code in forked repositories is skipped, as such workflow runs
# do not have access to the requisite secrets.
if: github.event.pull_request.head.repo.full_name == github.repository
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
permissions:
contents: read
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 1fe6767

Please sign in to comment.