mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 00:27:04 +02:00
ci: 🧠
This commit is contained in:
parent
2f22fc96f3
commit
9886e96d74
6 changed files with 65 additions and 3 deletions
23
.taskfiles/precommit.yaml
Normal file
23
.taskfiles/precommit.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
version: "3"
|
||||
|
||||
tasks:
|
||||
init:
|
||||
desc: Install pre-commit hooks
|
||||
cmds:
|
||||
- pre-commit install --install-hooks --config .ci/pre-commit/config.yaml
|
||||
|
||||
update:
|
||||
desc: Update pre-commit hooks
|
||||
cmds:
|
||||
- pre-commit autoupdate --config .ci/pre-commit/config.yaml
|
||||
|
||||
run:
|
||||
desc: Run pre-commit
|
||||
cmds:
|
||||
- pre-commit run --config .ci/pre-commit/config.yaml
|
||||
|
||||
run-all:
|
||||
desc: Run pre-commit on all files
|
||||
cmds:
|
||||
- pre-commit run --all-files --config .ci/pre-commit/config.yaml
|
Loading…
Add table
Add a link
Reference in a new issue