add script to pre commit hooks for checking file permissions (#2322)

This commit is contained in:
Aviral Goel
2025-06-17 10:07:08 -04:00
committed by GitHub
parent 3c4cdfac4f
commit 3af66e99ab
2 changed files with 14 additions and 0 deletions

View File

@@ -12,3 +12,9 @@ repos:
verbose: false
language: script
types: [c++]
- id: remove-exec-bit
name: Remove executable bit from non-executable files
entry: script/remove_exec_bit.sh
language: script
types_or: [c++, text]
verbose: true