diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 86bed6667a..5f896a6ea0 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -1,6 +1,8 @@ name: Build on: push: + branches: + - master pull_request: types: [opened, synchronize, reopened] jobs: diff --git a/sonar-project.properties b/sonar-project.properties index a8cc070c27..19d83d8a8a 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -13,7 +13,7 @@ sonar.test.inclusions=**/*_test.go, **/*.test.ts #sonar.projectVersion=1.0 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. -#sonar.sources=. +sonar.sources=. # Encoding of the source code. Default is default system encoding #sonar.sourceEncoding=UTF-8