From f1b67559b12bdb2776fbac609f2231812c1331ef Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Thu, 3 Jul 2025 16:38:45 +0200 Subject: [PATCH] chore: remove gitea from variable names etc. with no functional change --- internal/app/cmd/exec.go | 2 +- internal/app/run/runner.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/app/cmd/exec.go b/internal/app/cmd/exec.go index d1419190..d5c22a1c 100644 --- a/internal/app/cmd/exec.go +++ b/internal/app/cmd/exec.go @@ -382,7 +382,7 @@ func runExec(ctx context.Context, execArgs *executeArgs) func(cmd *cobra.Command } if len(execArgs.artifactServerPath) == 0 { - tempDir, err := os.MkdirTemp("", "gitea-act-") + tempDir, err := os.MkdirTemp("", "forgejo-runner-") if err != nil { fmt.Println(err) } diff --git a/internal/app/run/runner.go b/internal/app/run/runner.go index 3c00989b..a48c3c62 100644 --- a/internal/app/run/runner.go +++ b/internal/app/run/runner.go @@ -77,8 +77,8 @@ func NewRunner(cfg *config.Config, reg *config.Registration, cli client.Client) cacheProxy = nil } - artifactGiteaAPI := strings.TrimSuffix(cli.Address(), "/") + "/api/actions_pipeline/" - envs["ACTIONS_RUNTIME_URL"] = artifactGiteaAPI + artifactAPI := strings.TrimSuffix(cli.Address(), "/") + "/api/actions_pipeline/" + envs["ACTIONS_RUNTIME_URL"] = artifactAPI envs["ACTIONS_RESULTS_URL"] = strings.TrimSuffix(cli.Address(), "/") envs["GITEA_ACTIONS"] = "true"