From ded278da711366987460e9f4c00edf84c725d10a Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 26 Apr 2026 02:31:40 +0200 Subject: [PATCH] Use 'Gitea Runner' branding in user-facing strings Co-Authored-By: Claude (Opus 4.7) --- Makefile | 2 +- internal/app/cmd/cmd.go | 2 +- internal/pkg/config/registration.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6fa68513..839d8d96 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,7 @@ go-check: $(eval MIN_GO_VERSION := $(shell printf "%03d%03d" $(shell echo '$(MIN_GO_VERSION_STR)' | tr '.' ' '))) $(eval GO_VERSION := $(shell printf "%03d%03d" $(shell $(GO) version | grep -Eo '[0-9]+\.[0-9]+' | tr '.' ' ');)) @if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \ - echo "Runner requires Go $(MIN_GO_VERSION_STR) or greater to build. You can get it at https://go.dev/dl/"; \ + echo "Gitea Runner requires Go $(MIN_GO_VERSION_STR) or greater to build. You can get it at https://go.dev/dl/"; \ exit 1; \ fi diff --git a/internal/app/cmd/cmd.go b/internal/app/cmd/cmd.go index dc485c7c..105303a7 100644 --- a/internal/app/cmd/cmd.go +++ b/internal/app/cmd/cmd.go @@ -18,7 +18,7 @@ func Execute(ctx context.Context) { // ./runner rootCmd := &cobra.Command{ Use: "runner [event name to run]\nIf no event name passed, will default to \"on: push\"", - Short: "Actions runner for Gitea.", + Short: "Gitea Runner", Args: cobra.MaximumNArgs(1), Version: ver.Version(), SilenceUsage: true, diff --git a/internal/pkg/config/registration.go b/internal/pkg/config/registration.go index f001cb92..aff26dc2 100644 --- a/internal/pkg/config/registration.go +++ b/internal/pkg/config/registration.go @@ -8,7 +8,7 @@ import ( "os" ) -const registrationWarning = "This file is automatically generated by runner. Do not edit it manually unless you know what you are doing. Removing this file will cause runner to re-register as a new runner." +const registrationWarning = "This file is automatically generated by Gitea Runner. Do not edit it manually unless you know what you are doing. Removing this file will cause Gitea Runner to re-register as a new runner." // Registration is the registration information for a runner type Registration struct {