1554768917
* feat: add * hack * feat: add secrets pre-commit * wip * wip * hacking at gatus * hacking at gatus * wip * wip * hack * hack * hack * hack * feat: gatus doing gatus stuff * hack * guh * hacking * hack * hack * hack * feat: add helios * hack * chore: new hosts reencrypt * Auto lint/format --------- Co-authored-by: Truxnell <9149206+truxnell@users.noreply.github.com> Co-authored-by: truxnell <truxnell@users.noreply.github.com>
38 lines
1 KiB
YAML
38 lines
1 KiB
YAML
---
|
|
fail_fast: false
|
|
|
|
repos:
|
|
- repo: https://github.com/adrienverge/yamllint
|
|
rev: v1.35.1
|
|
hooks:
|
|
- args:
|
|
- --config-file
|
|
- .github/lint/.yamllint.yaml
|
|
id: yamllint
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.6.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: fix-byte-order-marker
|
|
- id: mixed-line-ending
|
|
- id: check-added-large-files
|
|
args: [--maxkb=2048]
|
|
- id: check-merge-conflict
|
|
- id: check-executables-have-shebangs
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
rev: v1.5.5
|
|
hooks:
|
|
- id: remove-crlf
|
|
- id: remove-tabs
|
|
exclude: (Makefile)
|
|
- repo: https://github.com/zricethezav/gitleaks
|
|
rev: v8.18.1
|
|
hooks:
|
|
- id: gitleaks
|
|
- repo: https://github.com/yuvipanda/pre-commit-hook-ensure-sops
|
|
rev: v1.0
|
|
hooks:
|
|
- id: sops-encryption
|
|
# Uncomment to exclude all markdown files from encryption
|
|
# exclude: *.\.md
|