1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-07-27 17:28:35 +00:00

chore: remove gitea from variable names etc. with no functional change

This commit is contained in:
Earl Warren 2025-07-03 16:38:45 +02:00
parent 96a453c015
commit f1b67559b1
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 3 additions and 3 deletions

View file

@ -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)
}

View file

@ -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"