ci: Skip sonarcloud when the changes will not change the scan results

This commit is contained in:
sithlord48
2025-11-12 08:23:33 -05:00
committed by Nick Bolton
parent f26ea08469
commit e712bf6c8e

View File

@ -6,16 +6,23 @@ on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- "**/*.md"
- ".github/ISSUE_TEMPLATE/**"
- ".editorconfig"
- ".env-example"
- ".gitignore"
- ".gitattributes"
- "cspell.json"
paths:
- '.github/workflows/sonarcloud-analysis.yml'
- 'sonar-project.properties'
- 'cmake/Libraries.cmake'
- 'CMakeLists.txt'
- 'src/**'
- '!src/res/**'
- '!src/unittests/**'
push:
branches: [master]
paths:
- '.github/workflows/codeql-analysis.yml'
- 'cmake/Libraries.cmake'
- 'CMakeLists.txt'
- 'src/**'
- '!src/res/**'
- '!src/unittests/**'
jobs:
analyze: