If workdir_parent has the prefix '/', errors will occur when reading files from the job container.
Fix #512
act_runner adds a '/' before the path (see https://gitea.com/gitea/act_runner/src/commit/5977042b86f22454d51c8027a009cb0a40337e52/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.
My concern is that maybe some users are using this configuration. Should we introduce a BREAKING change?
I considered changing the code from
```
fmt.Sprintf("/%s/%s", r.cfg.Container.WorkdirParent, preset.Repository)
```
to
```
fmt.Sprintf("%s/%s", r.cfg.Container.WorkdirParent, preset.Repository)
```
My concern is that maybe some users are using this configuration. Should we introduce a BREAKING change?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fix #512
act_runner adds a '/' before the path (see https://gitea.com/gitea/act_runner/src/commit/5977042b86f22454d51c8027a009cb0a40337e52/internal/app/run/runner.go#L186) . So
workdir_parentdoesn't need to have the prefix '/'.If
workdir_parenthas the prefix '/', errors will occur when reading files from the job container.Maybe we can simply fix the code to handle it instead of requesting it in the configuration.
I considered changing the code from
to
My concern is that maybe some users are using this configuration. Should we introduce a BREAKING change?
I mean: