From 5044ec6c4364cb74e623953b8c5d39790c8af126 Mon Sep 17 00:00:00 2001 From: hackercat Date: Thu, 1 Apr 2021 23:01:01 +0200 Subject: [PATCH] fix: remove HOME env var (#594) --- pkg/runner/run_context.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/runner/run_context.go b/pkg/runner/run_context.go index 8ffda163..ee9937e2 100644 --- a/pkg/runner/run_context.go +++ b/pkg/runner/run_context.go @@ -580,7 +580,6 @@ func withDefaultBranch(b string, event map[string]interface{}) map[string]interf func (rc *RunContext) withGithubEnv(env map[string]string) map[string]string { github := rc.getGithubContext() env["CI"] = "true" - env["HOME"] = fmt.Sprintf("%s/%s", filepath.Dir(rc.Config.Workdir), "home") env["GITHUB_ENV"] = fmt.Sprintf("%s/%s", filepath.Dir(rc.Config.Workdir), "workflow/envs.txt") env["GITHUB_WORKFLOW"] = github.Workflow env["GITHUB_RUN_ID"] = github.RunID