ci: Skip sonarcloud when the changes will not change the scan results
This commit is contained in:
23
.github/workflows/sonarcloud-analysis.yml
vendored
23
.github/workflows/sonarcloud-analysis.yml
vendored
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user