github / github/platform-samples
github/workflows/codeql-analysis.yml
- Langage dominant
- Shell
- Étoiles
- 2.2k
- Forks
- 1.9k
- Merge moyen
- 7 j 19 h
- PR mergées (30 j)
- 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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start with .github/codeql-analysis.yml and .github/codeql-config.yml, then review the existing workflow triggers, language scope, paths, and schedule. Confirm that analysis remains limited to src, packages, and compiler, excludes tests and node_modules, and runs only for relevant changes without reducing intended coverage.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- github-actions, javascript, typescript
- Domaine
- ci-cd, security
- Type d'issue
- Refactorisation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 65/100