github / github/platform-samples
github/workflows/codeql-analysis.yml
- Dominant language
- Shell
- Stars
- 2.2k
- Forks
- 1.9k
- Avg merge
- 7d 19h
- Merged PRs (30d)
- 1
Description
perf: optimize CodeQL workflow for faster analysis Descripción: ## Description
This PR optimizes the CodeQL analysis workflow to reduce execution time and resource usage.
## Changes
- Created `.github/codeql-analysis.yml` with optimized workflow configuration
- Created `.github/codeql-config.yml` with path filters and query optimization
- Limited analysis to JavaScript/TypeScript only
- Added path filters to skip unnecessary scans
## Performance Improvements
- Reduced analysis scope to relevant directories (src, packages, compiler)
- Ignores test files and node_modules
- Only runs on relevant file changes
- Scheduled analysis to off-peak hours
Fixes #36484
Contributor guide
Assessment
This issue has not been assessed yet.