github / github/platform-samples

github/workflows/codeql-analysis.yml

Đang mở
#815 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Shell
Star
2.2k
Fork
1.9k
Merge trung bình
7 ngày 19 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.