Skip to content

Commit 9eed92e

Browse files
committed
chore: add lefthook config for make docs
Adds lefthook config to .kres.yaml, for the custom.Step that generates the `make docs` target. Signed-off-by: Maja Bojarska <maja.bojarska@siderolabs.com>
1 parent 9920386 commit 9eed92e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.kres.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,17 @@ spec:
721721
ghaction:
722722
enabled: true
723723
condition: on-pull-request
724+
lefthook:
725+
enabled: true
726+
hooks:
727+
pre-commit:
728+
jobs:
729+
- name: fix
730+
group:
731+
jobs:
732+
- name: docs
733+
run: make docs
734+
stage_fixed: true
724735
---
725736
kind: custom.Step
726737
name: talosctl

0 commit comments

Comments
 (0)