diff --git a/.forgejo/workflows/release-notes-assistant-milestones.yml b/.forgejo/workflows/release-notes-assistant-milestones.yml index 361e8f441..6b1497657 100644 --- a/.forgejo/workflows/release-notes-assistant-milestones.yml +++ b/.forgejo/workflows/release-notes-assistant-milestones.yml @@ -20,9 +20,9 @@ jobs: - name: apt install jq run: | - export DEBIAN_FRONTEND=noninteractive - apt-get update -qq - apt-get -q install -y -qq jq + export DEBIAN_FRONTEND=noninteractive + apt-get update -qq + apt-get -q install -y -qq jq - name: update open milestones run: | diff --git a/.forgejo/workflows/release-notes-assistant.yml b/.forgejo/workflows/release-notes-assistant.yml index 433d9c435..0dc3f12ee 100644 --- a/.forgejo/workflows/release-notes-assistant.yml +++ b/.forgejo/workflows/release-notes-assistant.yml @@ -30,9 +30,9 @@ jobs: - name: apt install jq run: | - export DEBIAN_FRONTEND=noninteractive - apt-get update -qq - apt-get -q install -y -qq jq + export DEBIAN_FRONTEND=noninteractive + apt-get update -qq + apt-get -q install -y -qq jq - name: release-notes-assistant preview run: | diff --git a/Makefile b/Makefile index 29435d7db..de1c46693 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ DIFF ?= diff --unified XGO_VERSION := go-1.21.x AIR_PACKAGE ?= github.com/air-verse/air@v1 # renovate: datasource=go -EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/v2/cmd/editorconfig-checker@2.8.0 # renovate: datasource=go +EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/v3/cmd/editorconfig-checker@v3.0.3 # renovate: datasource=go GOFUMPT_PACKAGE ?= mvdan.cc/gofumpt@v0.6.0 # renovate: datasource=go GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1 # renovate: datasource=go GXZ_PACKAGE ?= github.com/ulikunitz/xz/cmd/gxz@v0.5.11 # renovate: datasource=go diff --git a/templates/base/alert.tmpl b/templates/base/alert.tmpl index b2deab5c2..e2853d3da 100644 --- a/templates/base/alert.tmpl +++ b/templates/base/alert.tmpl @@ -19,5 +19,5 @@ {{end}} {{if and (not .Flash.ErrorMsg) (not .Flash.SuccessMsg) (not .Flash.InfoMsg) (not .Flash.WarningMsg) (not .IsHTMX)}} -
+
{{end}} diff --git a/templates/htmx/milestone_sidebar.tmpl b/templates/htmx/milestone_sidebar.tmpl index 458dabc5b..05bbd802c 100644 --- a/templates/htmx/milestone_sidebar.tmpl +++ b/templates/htmx/milestone_sidebar.tmpl @@ -1,4 +1,4 @@
- {{template "repo/issue/view_content/comments" .}} + {{template "repo/issue/view_content/comments" .}}
{{template "repo/issue/view_content/sidebar/milestones" .}} diff --git a/templates/org/menu.tmpl b/templates/org/menu.tmpl index 6258f1737..9ac3a618e 100644 --- a/templates/org/menu.tmpl +++ b/templates/org/menu.tmpl @@ -6,7 +6,7 @@ {{if .RepoCount}}
{{.RepoCount}}
{{end}} - + {{if .CanReadProjects}} diff --git a/templates/repo/actions/dispatch.tmpl b/templates/repo/actions/dispatch.tmpl index 520a9b50c..2372e61eb 100644 --- a/templates/repo/actions/dispatch.tmpl +++ b/templates/repo/actions/dispatch.tmpl @@ -96,4 +96,4 @@ }); }); - \ No newline at end of file + diff --git a/templates/repo/actions/runs_list.tmpl b/templates/repo/actions/runs_list.tmpl index e37f3d7dc..7bab492d7 100644 --- a/templates/repo/actions/runs_list.tmpl +++ b/templates/repo/actions/runs_list.tmpl @@ -15,7 +15,7 @@ {{if .Title}}{{.Title}}{{else}}{{ctx.Locale.Tr "actions.runs.empty_commit_message"}}{{end}}
- {{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}} - + {{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}} - {{- if .ScheduleID -}} {{ctx.Locale.Tr "actions.runs.scheduled"}} {{- else -}} diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index b97ce8266..683dea842 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -72,7 +72,7 @@
- {{template "repo/issue/view_content/comments" .}} + {{template "repo/issue/view_content/comments" .}}
{{if and .Issue.IsPull (not $.Repository.IsArchived)}} diff --git a/templates/repo/issue/view_content/pull_merge_instruction.tmpl b/templates/repo/issue/view_content/pull_merge_instruction.tmpl index 62605ad73..128dfef7f 100644 --- a/templates/repo/issue/view_content/pull_merge_instruction.tmpl +++ b/templates/repo/issue/view_content/pull_merge_instruction.tmpl @@ -1,6 +1,6 @@
- {{ctx.Locale.Tr "repo.pulls.cmd_instruction_hint"}} + {{ctx.Locale.Tr "repo.pulls.cmd_instruction_hint"}}

{{ctx.Locale.Tr "repo.pulls.cmd_instruction_checkout_title"}}

{{ctx.Locale.Tr "repo.pulls.cmd_instruction_checkout_desc"}}
{{$localBranch := .PullRequest.HeadBranch}} {{if ne .PullRequest.HeadRepo.ID .PullRequest.BaseRepo.ID}} diff --git a/templates/repo/wiki/search.tmpl b/templates/repo/wiki/search.tmpl index 88b12b08b..d3af9bdcb 100644 --- a/templates/repo/wiki/search.tmpl +++ b/templates/repo/wiki/search.tmpl @@ -1,12 +1,12 @@ {{if .Results}} - {{range .Results}} - - {{.Filename}} - {{range .LineCodes}} -

{{.}}

- {{end}} -
- {{end}} + {{range .Results}} + + {{.Filename}} + {{range .LineCodes}} +

{{.}}

+ {{end}} +
+ {{end}} {{else}} -
{{ctx.Locale.Tr "repo.wiki.no_search_results"}}
+
{{ctx.Locale.Tr "repo.wiki.no_search_results"}}
{{end}} diff --git a/templates/shared/searchfile.tmpl b/templates/shared/searchfile.tmpl index ae67eb711..a051742ae 100644 --- a/templates/shared/searchfile.tmpl +++ b/templates/shared/searchfile.tmpl @@ -1,9 +1,9 @@
    - {{/* if the expected line number does not match - the actual line number end the ordered list - and begin a new one */}} + {{/* if the expected line number does not match + the actual line number end the ordered list + and begin a new one */}} {{$expNum := 0}} {{range .SearchResult.Lines}} {{if and (gt $expNum 0) (ne .Num $expNum)}} diff --git a/templates/shared/user/profile_big_avatar.tmpl b/templates/shared/user/profile_big_avatar.tmpl index 6795eaed2..d3033b46b 100644 --- a/templates/shared/user/profile_big_avatar.tmpl +++ b/templates/shared/user/profile_big_avatar.tmpl @@ -1,5 +1,5 @@ {{if .IsHTMX}} - {{template "base/alert" .}} + {{template "base/alert" .}} {{end}}