Files
actions/.pre-commit-config.yaml
T
peet c4e10c5044
Validate actions / validate (push) Successful in 3s
Add pre commit (#6)
Reviewed-on: #6
Co-authored-by: peet <peet@noctrl.eu>
2026-09-06 15:53:44 +02:00

29 lines
865 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-json
- id: check-yaml
- id: check-merge-conflict
- id: detect-private-key
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: end-of-file-fixer
exclude: ^gradle/wrapper/gradle-wrapper\.jar$
- id: trailing-whitespace
exclude: ^gradle/wrapper/gradle-wrapper\.jar$|^gradlew\.bat$
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
args: [ "--baseline", ".secrets.baseline" ]
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint
args: [ "-config-file", "actionlint.yaml" ]
files: ^\.gitea/workflows/.*\.ya?ml$