From c7aababd15ad622e96440aa44bae9e18c5694aa0 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Fri, 28 Oct 2022 09:24:19 -0500 Subject: [PATCH] ci: Only run Sonarcloud when source changes --- .github/workflows/sonarcloud.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 72fbb1f5..5b2a5687 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -5,9 +5,9 @@ on: # Do not run on pull-request because the required tokens # cannot be read from there. push: - paths-ignore: - - "wiki/**" - - "**.md" + paths: + - .github/workflows/sonarcloud.yml + - "src/**" env: dotnetVersion: "6.0.x"