From 28ff63723711387bfa610e8f7f22ec6b4833e44a Mon Sep 17 00:00:00 2001 From: Nico Koprowski Date: Wed, 1 Feb 2023 11:25:32 +0100 Subject: [PATCH] cicd(Sonar): trigger sonar scan workflow on push to main branch --- .github/workflows/sonar-scan.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sonar-scan.yaml b/.github/workflows/sonar-scan.yaml index 11943d371..3306af564 100644 --- a/.github/workflows/sonar-scan.yaml +++ b/.github/workflows/sonar-scan.yaml @@ -1,6 +1,9 @@ name: SonarCloud Scan on: - workflow_call: + push: + branches: + - main + workflow_dispatch: jobs: sonar-scan: