mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
2e4fc0a76d
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 .
17 lines
487 B
YAML
17 lines
487 B
YAML
name: SonarQube
|
|
on:
|
|
workflow_run:
|
|
workflows: ["Tests"]
|
|
types:
|
|
- completed
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
sonarqube:
|
|
name: 🩻 SonarQube
|
|
if: github.event.workflow_run.event != 'merge_group'
|
|
uses: matrix-org/matrix-js-sdk/.github/workflows/sonarcloud.yml@develop
|
|
secrets:
|
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|