This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
SonarQube #27850
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.conclusion == 'success' && github.event.workflow_run.event != 'merge_group' | |
uses: matrix-org/matrix-js-sdk/.github/workflows/sonarcloud.yml@develop | |
secrets: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} | |
with: | |
sharded: true |