github / github/platform-samples

github/workflows/codeql-analysis.yml

Aperta
#815 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
2.2k
Fork
1.9k
Merge medio
7g 19h
PR unite (30g)
1

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.