pre-commit hooks for DigitalOcean doctl
pre-commit-digitalocean is a pre-commit
hook, which runs doctl to check DigitalOcean App Spec files (.do/app.yaml
).
pre-commit-digitalocean
requires the following to run:
- Create a
.pre-commit-config.yaml
in you git project pre-commit install
- Enjoy!
Example .pre-commit-config.yaml
:
- repo: https://github.com/LyraPhase/pre-commit-digitalocean.git
rev: v0.1.1
hooks:
- id: doctl-app-spec-validate
args: [--verbose]
To contribute to pre-commit-shell, clone this repo locally and commit your code on a separate branch.
GitHub @trinitronx
pre-commit-digitalocean is licensed under the GPLv3 license.