This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new 354dbce9e5 [CI] pre-commit add hook `check-zip-file-is-not-committed`
(#2172)
354dbce9e5 is described below
commit 354dbce9e5d04504aea27c30072d1eab11e0ae1e
Author: John Bampton <[email protected]>
AuthorDate: Mon Jul 28 16:09:23 2025 +1000
[CI] pre-commit add hook `check-zip-file-is-not-committed` (#2172)
* [CI] pre-commit add hook `check-zip-file-is-not-committed`
Zip files should not be allowed in the repository as they are hard to track
and have security implications
* Update .pre-commit-config.yaml
---
.pre-commit-config.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 7c4e772e95..a706a6f4d9 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -40,6 +40,14 @@ repos:
files: \.(js|ya?ml)$
language: node
additional_dependencies: ['[email protected]']
+ - id: check-zip-file-is-not-committed
+ name: check no zip files are committed
+ description: Zip files are not allowed in the repository
+ language: fail
+ entry: |
+ Zip files are not allowed in the repository as they are hard to
+ track and have security implications. Please remove the zip file
from the repository.
+ files: (?i)\.zip$
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks: