The ownership left in .git configuration directory after push belongs to root:
...
total 12
drwxr-xr-x. 2 root root 4096 18 sept. 16:34 .
drwxr-xr-x. 3 root root 4096 18 sept. 16:34 ..
-rw-r--r--. 1 root root 41 18 sept. 16:34 9221-53-7461
./refs/remotes:
total 12
drwxr-xr-x. 3 actions-runner actions-runner 4096 18 sept. 14:57 .
drwxr-xr-x. 4 actions-runner actions-runner 4096 18 sept. 18:31 ..
drwxr-xr-x. 3 actions-runner actions-runner 4096 18 sept. 18:31 origin
./refs/remotes/origin:
total 12
drwxr-xr-x. 3 actions-runner actions-runner 4096 18 sept. 18:31 .
drwxr-xr-x. 3 actions-runner actions-runner 4096 18 sept. 14:57 ..
drwxr-xr-x. 3 root root 4096 18 sept. 16:34 push-action
./refs/remotes/origin/push-action:
total 12
drwxr-xr-x. 3 root root 4096 18 sept. 16:34 .
drwxr-xr-x. 3 actions-runner actions-runner 4096 18 sept. 18:31 ..
drwxr-xr-x. 2 root root 4096 18 sept. 16:34 6222839019
./refs/remotes/origin/push-action/6222839019:
total 12
drwxr-xr-x. 2 root root 4096 18 sept. 16:34 .
drwxr-xr-x. 3 root root 4096 18 sept. 16:34 ..
The self-hosted runner is not able to cleanup the repo checkout at next run.
Is it possible to allow to choose the uid/gid that will call git for the push?
The ownership left in
.gitconfiguration directory after push belongs toroot:The self-hosted runner is not able to cleanup the repo checkout at next run.
Is it possible to allow to choose the uid/gid that will call git for the push?