31 lines
795 B
YAML
31 lines
795 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-merge-conflict
|
|
- id: mixed-line-ending
|
|
args: [--fix=lf]
|
|
|
|
- repo: https://github.com/AleksaC/hadolint-py
|
|
rev: v2.15.1
|
|
hooks:
|
|
- id: hadolint
|
|
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
rev: v0.11.0.1
|
|
hooks:
|
|
- id: shellcheck
|
|
|
|
# No upstream equivalent: a distro added under distros/ but left out of a
|
|
# Woodpecker matrix silently never gets built.
|
|
- repo: local
|
|
hooks:
|
|
- id: check-distros
|
|
name: distros match the woodpecker matrices
|
|
entry: ci/check-distros.sh
|
|
language: system
|
|
pass_filenames: false
|