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: workflow_dispatch:
pull_request: pull_request:
types: [opened, synchronize, reopened, ready_for_review] types: [opened, synchronize, reopened, ready_for_review]
paths-ignore: paths:
- "**/*.md" - '.github/workflows/sonarcloud-analysis.yml'
- ".github/ISSUE_TEMPLATE/**" - 'sonar-project.properties'
- ".editorconfig" - 'cmake/Libraries.cmake'
- ".env-example" - 'CMakeLists.txt'
- ".gitignore" - 'src/**'
- ".gitattributes" - '!src/res/**'
- "cspell.json" - '!src/unittests/**'
push: push:
branches: [master] branches: [master]
paths:
- '.github/workflows/codeql-analysis.yml'
- 'cmake/Libraries.cmake'
- 'CMakeLists.txt'
- 'src/**'
- '!src/res/**'
- '!src/unittests/**'
jobs: jobs:
analyze: analyze: