You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-23 17:02:25 +03:00
Tweak how the SonarCloud scan fails (#2947)
This commit is contained in:
committed by
GitHub
parent
74b30246d0
commit
acd220b8a9
2
.github/workflows/sonarcloud.yml
vendored
2
.github/workflows/sonarcloud.yml
vendored
@@ -28,6 +28,8 @@ jobs:
|
|||||||
- name: "🩻 SonarCloud Scan"
|
- name: "🩻 SonarCloud Scan"
|
||||||
id: sonarcloud
|
id: sonarcloud
|
||||||
uses: matrix-org/sonarcloud-workflow-action@v2.3
|
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:
|
with:
|
||||||
repository: ${{ github.event.workflow_run.head_repository.full_name }}
|
repository: ${{ github.event.workflow_run.head_repository.full_name }}
|
||||||
is_pr: ${{ github.event.workflow_run.event == 'pull_request' }}
|
is_pr: ${{ github.event.workflow_run.event == 'pull_request' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user