Files
puppet-r10k/.pre-commit-config.yaml
T
unkinben b2e99ae7e4
ci/woodpecker/pr/pre-commit Pipeline was successful
feat: migrate to woodpecker ci
- update build->test, change to use uvx precommit
- update pre-commit with additional checks
- remove gitea actions job
2026-03-09 01:24:31 +11:00

32 lines
791 B
YAML

repos:
# General file checks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-added-large-files
args: ['--maxkb=500']
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
args: [--allow-multiple-documents]
- id: end-of-file-fixer
- id: forbid-new-submodules
- id: trailing-whitespace
# YAML linting
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.37.1
hooks:
- id: yamllint
args:
[
"-d {extends: relaxed, rules: {line-length: disable}, ignore: chart}",
"-s",
]
- repo: https://github.com/jorisroovers/gitlint
rev: v0.19.1
hooks:
- id: gitlint
stages: [commit-msg]