You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2024/02/10 08:01:27 UTC
(lucenenet) 01/02: .github/workflows/sonar.yml: Added paths to exclude CI, documentation, and website updates from triggering the scan. Fixes #873.
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit d775e8e1c0c220f5940b8c53becb6b8ee8fea7fa
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Sat Feb 10 13:31:34 2024 +0700
.github/workflows/sonar.yml: Added paths to exclude CI, documentation, and website updates from triggering the scan. Fixes #873.
---
.github/workflows/sonar.yml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml
index 8b969738c..3e385e6e7 100644
--- a/.github/workflows/sonar.yml
+++ b/.github/workflows/sonar.yml
@@ -21,6 +21,17 @@ on:
push:
branches:
- master
+ paths: # Exclude anything that isn't the main solution (docs, images, website, etc.)
+ - '.github/workflows/sonar.yml'
+ - 'src/**'
+ - '.build/dependencies.props'
+ - '.build/TestReferences.Common.*'
+ - '**/TestTargetFramework.*'
+ - '*.sln'
+ - '**/Directory.Build.*'
+ - '!src/docs/**'
+ - '!**/*.md'
+ - '!**/*.txt'
schedule:
- cron: '36 12 * * *' # 12:36 PM UTC, daily (picked an odd start time to try to avoid competing for agents with other projects)
jobs: