fix: CodeQL only run with given paths changed
This commit is contained in:
parent
aa834ed50c
commit
aeab8edcca
28
.github/workflows/codeQL-analysis.yml
vendored
28
.github/workflows/codeQL-analysis.yml
vendored
@ -13,9 +13,33 @@ name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "electron/**"
|
||||
- .github/workflows/jan-electron-linter-and-test.yml
|
||||
- "web/**"
|
||||
- "uikit/**"
|
||||
- "package.json"
|
||||
- "node_modules/**"
|
||||
- "yarn.lock"
|
||||
- "core/**"
|
||||
- "extensions/**"
|
||||
- "!README.md"
|
||||
- "Makefile"
|
||||
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "electron/**"
|
||||
- .github/workflows/jan-electron-linter-and-test.yml
|
||||
- "web/**"
|
||||
- "uikit/**"
|
||||
- "package.json"
|
||||
- "node_modules/**"
|
||||
- "yarn.lock"
|
||||
- "Makefile"
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user