2022-05-02 20:34:31 +00:00
|
|
|
name: SonarQube
|
|
|
|
on:
|
2022-12-12 11:24:14 +00:00
|
|
|
workflow_run:
|
|
|
|
workflows: ["Tests"]
|
|
|
|
types:
|
|
|
|
- completed
|
2022-05-13 22:25:50 +00:00
|
|
|
concurrency:
|
2022-12-12 11:24:14 +00:00
|
|
|
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch }}
|
|
|
|
cancel-in-progress: true
|
2022-05-02 20:34:31 +00:00
|
|
|
jobs:
|
2022-12-12 11:24:14 +00:00
|
|
|
sonarqube:
|
|
|
|
name: 🩻 SonarQube
|
2024-01-05 16:59:48 +00:00
|
|
|
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event != 'merge_group'
|
2022-12-12 11:24:14 +00:00
|
|
|
uses: matrix-org/matrix-js-sdk/.github/workflows/sonarcloud.yml@develop
|
|
|
|
secrets:
|
|
|
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
2024-01-05 16:59:48 +00:00
|
|
|
with:
|
|
|
|
sharded: true
|