Replies: 3 comments
-
The following is caused by incorrect ownership/permissions for the user that setup the worker, I came across this when I realised one of my workers was running as root and then I changed it to run as a user, this error was then thrown, the easiest fix is to remove the bad folders and let GitHub fix when it does the checkout for that folder.
|
Beta Was this translation helpful? Give feedback.
-
I also got this but with GitHub's own runner, https://github.com/ExpidusOS/file-manager/actions/runs/5097074866/jobs/9163360990. |
Beta Was this translation helpful? Give feedback.
-
If you are using act to run locally I managed to fix the issue by using a docker that uses a normal user called "runner" instead of root. https://github.com/catthehacker/docker_images
and
|
Beta Was this translation helpful? Give feedback.
-
I try to use this action on ec2 with self host runner, eventual failure on
by comparing the log to default runner, I suspect it's related to git ownership issue. I had the following warning in log.
I tried to add git config call both before and after use action without luck
both fail ,. if i just call git config without setting home, it will fail on $HOME not set.
What's the correct way to use this action on self hosted runner? I think it's related to the git things but can;t figure out how to resolve it.
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions