From 8826f7c6e933560dc6609a6e8775a4282bb31338 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 2 Jul 2025 09:29:10 +0000 Subject: [PATCH] fix: services do not need WorkingDir (#156) Closes forgejo/runner#304 Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/156 Reviewed-by: Michael Kriese Co-authored-by: Earl Warren Co-committed-by: Earl Warren --- act/runner/run_context.go | 1 - 1 file changed, 1 deletion(-) diff --git a/act/runner/run_context.go b/act/runner/run_context.go index 649095ab..b9f296e3 100644 --- a/act/runner/run_context.go +++ b/act/runner/run_context.go @@ -475,7 +475,6 @@ func (rc *RunContext) startJobContainer() common.Executor { serviceContainerName := createContainerName(rc.jobContainerName(), serviceID) c := container.NewContainer(&container.NewContainerInput{ Name: serviceContainerName, - WorkingDir: ext.ToContainerPath(rc.Config.Workdir), Image: rc.ExprEval.Interpolate(ctx, spec.Image), Username: username, Password: password,