Skip to content

Add pre-commit hook to stop zip files being committed#2580

Merged
fpapon merged 1 commit intoapache:mainfrom
jbampton:add-hook
Feb 27, 2026
Merged

Add pre-commit hook to stop zip files being committed#2580
fpapon merged 1 commit intoapache:mainfrom
jbampton:add-hook

Conversation

@jbampton
Copy link
Member

Zip files are hard to track and have security implications

https://pre-commit.com/#repos-repo

https://pre-commit.com/#repository-local-hooks

https://pre-commit.com/#fail

Also minor update of one hook with pre-commit autoupdate

Added missing name key and value

https://pre-commit.com/#pre-commit-autoupdate

Zip files are hard to track and have security implications

https://pre-commit.com/#repos-repo

https://pre-commit.com/#repository-local-hooks

https://pre-commit.com/#fail

Also minor update of one hook with `pre-commit autoupdate`

Added missing name key and value

https://pre-commit.com/#pre-commit-autoupdate
@github-actions github-actions bot added the yaml label Feb 27, 2026
@fpapon fpapon merged commit d6a0021 into apache:main Feb 27, 2026
31 checks passed
@jbampton jbampton deleted the add-hook branch February 27, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants