diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index dd26c3568..9aeb52cfe 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -4,6 +4,9 @@ on: pull_request: branches: - '*' + push: + branches: + - master concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -145,7 +148,7 @@ jobs: cat sonar-project.properties - name: SonarCloud Scan - uses: SonarSource/sonarqube-scan-action@v6 + uses: SonarSource/sonarqube-scan-action@v7 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}