ci: Skip CodeQL when the changes will not will change the scan results
This commit is contained in:
parent
e712bf6c8e
commit
75922cb944
1 changed files with 14 additions and 8 deletions
22
.github/workflows/codeql-analysis.yml
vendored
22
.github/workflows/codeql-analysis.yml
vendored
|
|
@ -6,16 +6,22 @@ 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/codeql-analysis.yml'
|
||||||
- ".github/ISSUE_TEMPLATE/**"
|
- 'cmake/Libraries.cmake'
|
||||||
- ".editorconfig"
|
- 'CMakeLists.txt'
|
||||||
- ".env-example"
|
- 'src/**'
|
||||||
- ".gitignore"
|
- '!src/res/**'
|
||||||
- ".gitattributes"
|
- '!src/unittests/**'
|
||||||
- "cspell.json"
|
|
||||||
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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue