diff --git a/.github/workflows/sonar-scanner.yaml b/.github/workflows/scan-code-sonar.yaml similarity index 79% rename from .github/workflows/sonar-scanner.yaml rename to .github/workflows/scan-code-sonar.yaml index 432062daa7..41bf658d7a 100644 --- a/.github/workflows/sonar-scanner.yaml +++ b/.github/workflows/scan-code-sonar.yaml @@ -7,6 +7,11 @@ on: required: true sonar-token: required: true + push: + branches: [main, develop] + pull_request: + # The branches below must be a subset of the branches above + branches: [main, develop] concurrency: group: callee-sonarcloud-${{ github.workflow }}-${{ github.ref }}