mirror of
https://github.com/Alfresco/acs-community-packaging.git
synced 2025-05-12 17:05:07 +00:00
* ACS-9420 Reformat code and add pre-commit checks to CI * Trigger [reformat code] * Apply Pre-Commit code formatting --------- Co-authored-by: alfresco-build <alfresco-build@users.noreply.github.com>
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
|