New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workflow runs fail with detected dubious ownership in repository at '/github/workspace'
#32
Comments
I have the same issue right now |
This seems to be relevant: actions/runner#2033 |
@colinodell do we need to wait for the fix form GitHub action? I also have the same issue https://github.com/SoftFineWare/discriminator-default-normalizer/actions/runs/3644144924/jobs/6153088587 |
The docker is not working: Nyholm/roave-bc-check-docker#32
any news on this issue? just ran into it while doing the very first setup with this action/container |
We've fixed it w/ custom workflow we reuse: https://github.com/yiisoft/actions/blob/master/.github/workflows/bc.yml |
running the tool in github action without docker is also twice as fast, so this gave me some nice perf boost on the way :) thanks - works for me. |
I think there is a simple fix for this problem, I am also using this trick in my Docker images. Based on my local testing, it also works here. Please check #35. |
@localheinz the proposed solution is not working here though. I assume it has something to do with the owner of the actions build agent and the volume mount towards this image which holds different ownership. |
I have a running example now that solves this issue (just by configuration). Anyone who could verify the same or has a "better" solution?
The main thing is that i added the user flag to the docker engine which is the same user as the existing host. I noticed that in the container UID 0 and GID 0 is used. For the github actions container this is UID 1001 and GID 123 which is the docker group. By setting the user to the command it runs fine again where there is (as far as i know) no issue in ownership between the checkout and the actual command inside the container (which also holds GIT). Another solution maybe would be to ignore GIT inside the container but no idea where it is used for though |
"running the tool in github action without docker is also twice as fast" See Nyholm/roave-bc-check-docker#32 (comment)
"running the tool in github action without docker is also twice as fast" See Nyholm/roave-bc-check-docker#32 (comment)
Workflow runs in
FakerPHP/Faker
fail usingwith
For reference, see https://github.com/FakerPHP/Faker/actions/runs/3639090757/jobs/6142063932.
The text was updated successfully, but these errors were encountered: