Skip to content

A repository for linting a woodpecker config file via pre-commit hook

Notifications You must be signed in to change notification settings

schtobia/woodpecker-lint

Repository files navigation

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.