Skip to content

Commit

Permalink
Tweak how the SonarCloud scan fails (#2947)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Dec 13, 2022
1 parent 74b3024 commit acd220b
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 @@ -28,6 +28,8 @@ jobs:
- name: "🩻 SonarCloud Scan"
id: sonarcloud
uses: matrix-org/sonarcloud-workflow-action@v2.3
# workflow_run fails report against the develop commit always, we don't want that for PRs
continue-on-error: ${{ github.event.workflow_run.head_branch != 'develop' }}
with:
repository: ${{ github.event.workflow_run.head_repository.full_name }}
is_pr: ${{ github.event.workflow_run.event == 'pull_request' }}
Expand Down

0 comments on commit acd220b

Please sign in to comment.