continuity/.pre-commit-config.yaml
Timothy Schenk ea89688d8b
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 2s
Build documentation / preprocess (push) Successful in 3s
Build documentation / docs (push) Successful in 25s
Build, Package and Push Images / build (push) Successful in 26s
Build, Package and Push Images / sonarqube (push) Has been skipped
Build, Package and Push Images / sbom-scan (push) Successful in 38s
Build documentation / build-docs-container (push) Successful in 56s
Build documentation / deploy-wiki (push) Successful in 4s
Build, Package and Push Images / container-build (push) Successful in 1m34s
Build, Package and Push Images / container-sbom-scan (push) Successful in 31s
chore: add hadolint to commit hooks
2023-11-16 14:38:38 +01:00

23 lines
650 B
YAML

repos:
- repo: local
hooks:
#Use dotnet format already installed on your machine
- id: dotnet-format
name: dotnet-format
language: system
entry: dotnet format --include
types_or: [c#, vb]
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
rev: v1.6.26.11
hooks:
- id: actionlint
additional_dependencies: [pyflakes>=3.0.1, shellcheck-py>=0.9.0.5]
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.11.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
hooks:
- id: hadolint-docker