mirror of
https://gitea.com/gitea/act_runner.git
synced 2025-01-30 14:34:45 +01:00
a1fc2b3ca7
Fix #512
act_runner adds a '/' before the path (see 5977042b86/internal/app/run/runner.go (L186)
) . So `workdir_parent` doesn't need to have the prefix '/'.
If `workdir_parent` has the prefix '/', errors will occur when reading files from the job container.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/519
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-committed-by: Zettat123 <zettat123@gmail.com>