chore(ci): prevent committing CodeQL DB artifacts via pre-commit hook

This commit is contained in:
GitHub Actions
2025-12-09 01:58:35 +00:00
parent 5a105debf3
commit df8bfc33fc
2 changed files with 21 additions and 0 deletions

View File

@@ -43,6 +43,13 @@ repos:
pass_filenames: false
verbose: true
always_run: true
- id: block-codeql-db-commits
name: Prevent committing CodeQL DB artifacts
entry: bash scripts/pre-commit-hooks/block-codeql-db-commits.sh
language: system
pass_filenames: false
verbose: true
always_run: true
# === MANUAL/CI-ONLY HOOKS ===
# These are slow and should only run on-demand or in CI