From 47909e705cad58e0edc2cbaa922e024b6354c672 Mon Sep 17 00:00:00 2001 From: trajan0x <83933037+trajan0x@users.noreply.github.com> Date: Wed, 28 Jun 2023 13:18:56 +0100 Subject: [PATCH] fix scanner properties (#1075) Co-authored-by: Trajan0x --- .github/workflows/sonar.yml | 2 ++ sonar-project.properties | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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