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

This commit is contained in:
sithlord48 2025-11-12 08:39:19 -05:00 committed by Nick Bolton
parent e712bf6c8e
commit 75922cb944

View file

@ -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: