mirror of
https://github.com/github/codeql.git
synced 2026-02-12 05:01: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 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 \
|
||||
-- \
|
||||
|
||||
Reference in New Issue
Block a user