mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-07 08:07:51 +00:00
build(security): correct scan path for CodeQL
This commit is contained in:
parent
6b34901d94
commit
79c65b3e44
2
.github/codeql/codeql-config.yml
vendored
Normal file
2
.github/codeql/codeql-config.yml
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
paths-ignore:
|
||||
- "assets/js"
|
5
.github/workflows/codeql.yml
vendored
5
.github/workflows/codeql.yml
vendored
@ -2,9 +2,9 @@ name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
paths: ["_javascript/**.js"]
|
||||
paths: ["_javascript/**/*.js"]
|
||||
pull_request:
|
||||
paths: ["_javascript/**.js"]
|
||||
paths: ["_javascript/**/*.js"]
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
@ -30,6 +30,7 @@ jobs:
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: "${{ matrix.language }}"
|
||||
config-file: .github/codeql/codeql-config.yml
|
||||
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
|
Loading…
x
Reference in New Issue
Block a user