mirror of
https://github.com/github/codeql.git
synced 2026-02-11 20:51:06 +01:00
Merge pull request #21102 from github/smowton/admin/respect-config-paths-filters-pre-finalize
All languages: account for paths and paths-ignore in XML and other ancillary extraction
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* When a code-scanning configuration specifies the `paths:` and/or `paths-ignore:` settings, these are now taken into account by the C# extractor's search for `.config`, `.props`, XML and project files.
|
||||
@@ -5,6 +5,7 @@ type NUL && "%CODEQL_DIST%\codeql" database index-files ^
|
||||
--include-extension=.csproj ^
|
||||
--include-extension=.props ^
|
||||
--include-extension=.xml ^
|
||||
--also-match-lgtm-index-filters ^
|
||||
--size-limit 10m ^
|
||||
--language xml ^
|
||||
--working-dir=. ^
|
||||
|
||||
@@ -7,6 +7,7 @@ set -eu
|
||||
--include-extension=.csproj \
|
||||
--include-extension=.props \
|
||||
--include-extension=.xml \
|
||||
--also-match-lgtm-index-filters \
|
||||
--size-limit 10m \
|
||||
--language xml \
|
||||
--working-dir=. \
|
||||
|
||||
@@ -9,6 +9,7 @@ if NOT "%CODEQL_EXTRACTOR_GO_EXTRACT_HTML%"=="no" (
|
||||
--include-extension=.xhtm ^
|
||||
--include-extension=.xhtml ^
|
||||
--include-extension=.vue ^
|
||||
--also-match-lgtm-index-filters ^
|
||||
--size-limit 10m ^
|
||||
--language html ^
|
||||
-- ^
|
||||
|
||||
@@ -10,6 +10,7 @@ if [ "${CODEQL_EXTRACTOR_GO_EXTRACT_HTML:-yes}" != "no" ]; then
|
||||
--include-extension=.xhtm \
|
||||
--include-extension=.xhtml \
|
||||
--include-extension=.vue \
|
||||
--also-match-lgtm-index-filters \
|
||||
--size-limit 10m \
|
||||
--language html \
|
||||
-- \
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* When a code-scanning configuration specifies the `paths:` and/or `paths-ignore:` settings, these are now taken into account by the Go extractor's search for `.vue` and HTML files.
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* When a code-scanning configuration specifies the `paths:` and/or `paths-ignore:` settings, these are now taken into account by the Python extractor's search for YAML files.
|
||||
@@ -3,6 +3,7 @@
|
||||
type NUL && "%CODEQL_DIST%\codeql" database index-files ^
|
||||
--include-extension=.yaml ^
|
||||
--include-extension=.yml ^
|
||||
--also-match-lgtm-index-filters ^
|
||||
--size-limit=5m ^
|
||||
--language yaml ^
|
||||
-- ^
|
||||
|
||||
@@ -5,6 +5,7 @@ set -eu
|
||||
"$CODEQL_DIST/codeql" database index-files \
|
||||
--include-extension=.yaml \
|
||||
--include-extension=.yml \
|
||||
--also-match-lgtm-index-filters \
|
||||
--size-limit=5m \
|
||||
--language yaml \
|
||||
-- \
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
type NUL && "%CODEQL_DIST%\codeql" database index-files ^
|
||||
--include=**/qlpack.yml ^
|
||||
--include-extension=.qlref ^
|
||||
--also-match-lgtm-index-filters ^
|
||||
--size-limit=5m ^
|
||||
--language yaml ^
|
||||
-- ^
|
||||
|
||||
@@ -5,6 +5,7 @@ set -eu
|
||||
"$CODEQL_DIST/codeql" database index-files \
|
||||
"--include=**/qlpack.yml" \
|
||||
--include-extension=.qlref \
|
||||
--also-match-lgtm-index-filters \
|
||||
--size-limit=5m \
|
||||
--language yaml \
|
||||
-- \
|
||||
|
||||
Reference in New Issue
Block a user