Merge pull request #19424 from github/tausbn/python-extract-hidden-file-by-default

Python: Extract files in hidden dirs by default
This commit is contained in:
Taus
2025-05-16 14:43:47 +02:00
committed by GitHub
15 changed files with 69 additions and 37 deletions

View File

@@ -0,0 +1,5 @@
---
category: minorAnalysis
---
- The Python extractor now extracts files in hidden directories by default. If you would like to skip files in hidden directories, add `paths-ignore: ["**/.*/**"]` to your [Code Scanning config](https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#specifying-directories-to-scan). If you would like to skip all hidden files, you can use `paths-ignore: ["**/.*"]`. When using the CodeQL CLI for extraction, specify the configuration (creating the configuration file if necessary) using the `--codescanning-config` option.