From 99cb3eeba45993577744792dd151eea31b08770c Mon Sep 17 00:00:00 2001 From: Matthew Burgess <549318+mattburgess@users.noreply.github.com> Date: Wed, 21 Oct 2020 22:08:03 +0100 Subject: [PATCH] Expand Env Vars in context (#146) (#202) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Expand Env Vars in context Co-authored-by: Rickard Löfström --- out.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/out.go b/out.go index bf2f3166..cd6245c9 100644 --- a/out.go +++ b/out.go @@ -49,7 +49,7 @@ func Put(request PutRequest, manager Github, inputDir string) (*PutResponse, err description = string(content) } - if err := manager.UpdateCommitStatus(version.Commit, p.BaseContext, p.Context, p.Status, safeExpandEnv(p.TargetURL), description); err != nil { + if err := manager.UpdateCommitStatus(version.Commit, p.BaseContext, safeExpandEnv(p.Context), p.Status, safeExpandEnv(p.TargetURL), description); err != nil { return nil, fmt.Errorf("failed to set status: %s", err) } }