A repository for linting a woodpecker config file via pre-commit hook
Tobias Schmidl
084091a66a
Reviewed-on: #4 Co-authored-by: Tobias Schmidl <tobias@schmidl.dev> Co-committed-by: Tobias Schmidl <tobias@schmidl.dev> |
||
---|---|---|
LICENSES | ||
.ecrc | ||
.ecrc.license | ||
.editorconfig | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.pre-commit-hooks.yaml | ||
.woodpecker.yml | ||
CHANGELOG.md | ||
README.md |
woodpecker-lint
This repository is intended to be used as a pre-commit hook.
Versioning
This repository adheres to SemVer and Keep a Changelog.
Usage
Simple, add the second option to your .pre-commit-config.yaml
.
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- repo: https://git.schmidl.dev/schtobia/woodpecker-lint
rev: 1.0.0
hooks:
- id: woodpecker-lint
...
Alternative Repos
The base URL for this repository is and will always be on git.schmidl.dev. However, I've enabled a push mirror to Github.