Use macOS-safe runner workdir
Some checks are pending
Build Rust / Cargo Test (push) Waiting to run
Build Site / Next.js Build (push) Waiting to run

This commit is contained in:
Conrad Kramer 2026-03-18 22:58:10 -07:00
parent f74a17c124
commit 5c57ac3655
2 changed files with 12 additions and 7 deletions

View file

@ -305,9 +305,7 @@ func (d *Dispatcher) destroyNSCInstance(ctx context.Context, runnerName, instanc
}
func macosBootstrapWrapperScript(runnerName string, req LaunchRequest, executor, workdir string) string {
if strings.TrimSpace(workdir) == "" {
workdir = "/tmp/forgejo-runner"
}
workdir = macosWorkDir(workdir)
// Pass all values via stdin script so secrets do not appear in the nsc ssh argv.
env := map[string]string{