Skip to content

Commit

Permalink
.github/workflows/sonar.yml: Added paths to exclude CI, documentation…
Browse files Browse the repository at this point in the history
…, and website updates from triggering the scan. Fixes #873.
  • Loading branch information
NightOwl888 committed Feb 10, 2024
1 parent 3f87e84 commit d775e8e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d775e8e

Please sign in to comment.