mirror of
https://gitea.com/gitea/act_runner
synced 2026-11-16 10:26:22 +01:00
Host jobs run in a per-job directory under `host.workdir_parent`, which teardown removes. Teardown also deleted `<container.workdir_parent>/<owner>/<repo>`, a path host jobs never create. With an empty parent and no repository that was the filesystem root, and any existing directory at that path was deleted although the job never used it. This removes that delete instead of guarding it, so teardown only removes what the job created. --------- Co-authored-by: silverwind <me@silverwind.io> Reviewed-on: https://gitea.com/gitea/runner/pulls/1409 Reviewed-by: bircni <bircni@icloud.com> Co-authored-by: clintlmartin <262727+clintlmartin@noreply.gitea.com>