From 3e7fd835b9bf856ad82314513d2e0c7855d890af Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Thu, 17 Aug 2023 09:26:42 -0500 Subject: [PATCH] ci: Fix sonarcloud not running on branches This is because `tags-ignore` causes implicitly branches to be ignored. --- .github/workflows/sonarcloud.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index f37c2209..b1d16ad8 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -9,8 +9,10 @@ on: - .github/workflows/sonarcloud.yml - sonar-project.properties - "src/**" - tags-ignore: - - "*" + + # Explicitly specifying this results in tags being ignored, which is the goal. + branches: + - "**" env: dotnetVersion: "7.0.x"