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