fix: ensure Semgrep hook triggers on Dockerfile-only commits
This commit is contained in:
@@ -105,7 +105,7 @@ pre-commit:
|
||||
run: cd frontend && npm run lint
|
||||
|
||||
semgrep:
|
||||
glob: "**/*.{go,ts,tsx,js,jsx,sh,yml,yaml,json},Dockerfile*"
|
||||
glob: "{**/*.{go,ts,tsx,js,jsx,sh,yml,yaml,json},Dockerfile*}"
|
||||
exclude: 'frontend/(coverage|dist|node_modules|\.vite)/'
|
||||
run: scripts/pre-commit-hooks/semgrep-scan.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user