Skip to content

Commit 6dafa39

Browse files
committed
chore: rekres
Adds lefthook.yml Signed-off-by: Maja Bojarska <maja.bojarska@siderolabs.com>
1 parent 9eed92e commit 6dafa39

2 files changed

Lines changed: 36 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED BY KRES, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2026-05-29T16:37:49Z by kres 8085f7d.
3+
# Generated on 2026-06-02T09:34:10Z by kres c1cf61e.
44

55
# common variables
66

@@ -242,7 +242,7 @@ lint-gofumpt: ## Runs gofumpt linter.
242242

243243
.PHONY: fmt
244244
fmt: ## Formats the source code
245-
@docker run --rm -it -v $(PWD):/src -w /src golang:$(GO_VERSION) \
245+
@docker run --rm -v $(PWD):/src -w /src golang:$(GO_VERSION) \
246246
bash -c "export GOTOOLCHAIN=local; \
247247
export GO111MODULE=on; export GOPROXY=https://proxy.golang.org; \
248248
go install mvdan.cc/gofumpt@$(GOFUMPT_VERSION) && \
@@ -495,7 +495,7 @@ release-notes: $(ARTIFACTS)
495495
.PHONY: conformance
496496
conformance:
497497
@docker pull $(CONFORMANCE_IMAGE)
498-
@docker run --rm -it -v $(PWD):/src -w /src $(CONFORMANCE_IMAGE) enforce
498+
@docker run --rm -v $(PWD):/src -w /src $(CONFORMANCE_IMAGE) enforce
499499

500500
.PHONY: renovate-local
501501
renovate-local: ## runs renovate locally to check syntax and test configuration

lefthook.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# THIS FILE WAS AUTOMATICALLY GENERATED BY KRES, PLEASE DO NOT EDIT.
2+
#
3+
# Generated on 2026-06-02T09:34:10Z by kres c1cf61e.
4+
5+
commit-msg:
6+
parallel: false
7+
commands:
8+
conformance:
9+
run: make conformance
10+
pre-commit:
11+
jobs:
12+
- name: fix
13+
group:
14+
parallel: false
15+
jobs:
16+
- name: generate
17+
run: make generate
18+
stage_fixed: true
19+
- name: fmt
20+
run: make fmt
21+
stage_fixed: true
22+
- name: lint-fmt
23+
run: make lint-fmt
24+
stage_fixed: true
25+
- name: docs
26+
run: make docs
27+
stage_fixed: true
28+
- name: lint
29+
group:
30+
parallel: false
31+
jobs:
32+
- name: lint
33+
run: make lint

0 commit comments

Comments
 (0)