0
Fork 0
mirror of https://github.com/oblien/openship.git synced 2026-11-18 06:55:56 +00:00
openship/packages/actions-runner/github.go
Victor I 42a215ca7c
fix(actions): run the official runner container as the supervisor's user
The GitHub runner container ran as root and shared its session directory
with the host supervisor. When the destination's SSH user is not root, the
assignment gate's mode-0600 admission record and the runner's diagnostics
were root-owned, so the supervisor could not read the admission request or
remove the session directory. The job was assigned but never started.

Run the container as the supervisor's UID and GID, with a session-local
HOME for non-root identities, and include the underlying cause in the
"Actions worker control failed" message.
2026-10-14 12:55:15 -05:00

351 lines
12 KiB