Don't run SonarCloud when a change is in the merge queue (#10863)
We are not interested in coverage information when a PR has already been approved, and we were seeing flakiness with SonarCloud with the "no artifacts found" error https://github.com/vector-im/element-web/issues/25334 .
This commit is contained in:
parent
0a6fe83a8c
commit
2e4fc0a76d
1 changed files with 1 additions and 0 deletions
1
.github/workflows/sonarqube.yml
vendored
1
.github/workflows/sonarqube.yml
vendored
|
@ -10,6 +10,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
sonarqube:
|
sonarqube:
|
||||||
name: 🩻 SonarQube
|
name: 🩻 SonarQube
|
||||||
|
if: github.event.workflow_run.event != 'merge_group'
|
||||||
uses: matrix-org/matrix-js-sdk/.github/workflows/sonarcloud.yml@develop
|
uses: matrix-org/matrix-js-sdk/.github/workflows/sonarcloud.yml@develop
|
||||||
secrets:
|
secrets:
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue