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