From 3cd241b9882af705be6a1b896eaa754cc68e7041 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 5 Mar 2024 09:36:41 +0100 Subject: [PATCH 1/3] Run editorconfig-checker on `locale_en-US.ini` --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9bbc56451b81d..ece8d74861954 100644 --- a/Makefile +++ b/Makefile @@ -147,6 +147,7 @@ GO_DIRS := build cmd models modules routers services tests WEB_DIRS := web_src/js web_src/css SPELLCHECK_FILES := $(GO_DIRS) $(WEB_DIRS) docs/content templates options/locale/locale_en-US.ini .github +EDITORCONFIG_CHECKER_FILES := templates .github/workflows options/locale/locale_en-US.ini GO_SOURCES := $(wildcard *.go) GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" ! -path modules/options/bindata.go ! -path modules/public/bindata.go ! -path modules/templates/bindata.go) @@ -426,7 +427,7 @@ lint-go-vet: .PHONY: lint-editorconfig lint-editorconfig: - $(GO) run $(EDITORCONFIG_CHECKER_PACKAGE) templates .github/workflows + @$(GO) run $(EDITORCONFIG_CHECKER_PACKAGE) $(EDITORCONFIG_CHECKER_FILES) .PHONY: lint-actions lint-actions: From a0e0d2e7d2eb2eee6d6170a35c290b1982c6b269 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 5 Mar 2024 09:40:30 +0100 Subject: [PATCH 2/3] add to backend filter --- .github/workflows/files-changed.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/files-changed.yml b/.github/workflows/files-changed.yml index c909f78597dc8..f9b6b1ec495c1 100644 --- a/.github/workflows/files-changed.yml +++ b/.github/workflows/files-changed.yml @@ -48,6 +48,7 @@ jobs: - "Makefile" - ".golangci.yml" - ".editorconfig" + - "options/locale/locale_en-US.ini" frontend: - "**/*.js" From 4245b636ee1e121a7ad5516a1d28d3821730dc0f Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 5 Mar 2024 09:41:38 +0100 Subject: [PATCH 3/3] rename --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ece8d74861954..52357ba00d9d5 100644 --- a/Makefile +++ b/Makefile @@ -147,7 +147,7 @@ GO_DIRS := build cmd models modules routers services tests WEB_DIRS := web_src/js web_src/css SPELLCHECK_FILES := $(GO_DIRS) $(WEB_DIRS) docs/content templates options/locale/locale_en-US.ini .github -EDITORCONFIG_CHECKER_FILES := templates .github/workflows options/locale/locale_en-US.ini +EDITORCONFIG_FILES := templates .github/workflows options/locale/locale_en-US.ini GO_SOURCES := $(wildcard *.go) GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" ! -path modules/options/bindata.go ! -path modules/public/bindata.go ! -path modules/templates/bindata.go) @@ -427,7 +427,7 @@ lint-go-vet: .PHONY: lint-editorconfig lint-editorconfig: - @$(GO) run $(EDITORCONFIG_CHECKER_PACKAGE) $(EDITORCONFIG_CHECKER_FILES) + @$(GO) run $(EDITORCONFIG_CHECKER_PACKAGE) $(EDITORCONFIG_FILES) .PHONY: lint-actions lint-actions: