github / github/platform-samples
github/workflows/codeql-analysis.yml
- 主要言語
- Shell
- スター
- 2.2k
- フォーク
- 1.9k
- 平均マージ
- 7日 19時間
- マージ済み PR(30日)
- 1
説明
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
コントリビューションガイド
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- github-actions, javascript, typescript
- 領域
- ci-cd, security
- issue の種類
- リファクタリング
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 65/100