mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
* Add precommit for secret scanning, formatting and license header checking. * Turn off bash debug logging. * Skip precommit checks that apply to all files. There are too many violations to run against all files.
15 lines
423 B
YAML
15 lines
423 B
YAML
repos:
|
|
- repo: https://github.com/Yelp/detect-secrets
|
|
rev: v1.5.0
|
|
hooks:
|
|
- id: detect-secrets
|
|
args: ["--baseline", ".secrets.baseline"]
|
|
- repo: local
|
|
hooks:
|
|
- id: check-format-and-headers
|
|
name: Check format and headers and fix if necessary
|
|
entry: ./scripts/hooks/check-format-and-headers.sh
|
|
language: script
|
|
files: ".*.java"
|
|
pass_filenames: false
|