diff --git a/server/events/project_command_runner.go b/server/events/project_command_runner.go index a1e3f8d3ba..c86a2d1fe8 100644 --- a/server/events/project_command_runner.go +++ b/server/events/project_command_runner.go @@ -830,10 +830,6 @@ func (p *DefaultProjectCommandRunner) doStateRm(ctx command.ProjectContext) (out func (p *DefaultProjectCommandRunner) runSteps(steps []valid.Step, ctx command.ProjectContext, absPath string) ([]string, error) { var outputs []string - // Hold a read lock for the whole step run so clone/reset/merge cannot run in this dir until we're done. - unlock := p.WorkingDir.GitReadLock(ctx.Pull.BaseRepo, ctx.Pull, ctx.Workspace) - defer unlock() - envs := make(map[string]string) for _, step := range steps { var out string