-
Notifications
You must be signed in to change notification settings - Fork 97
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
fatal: detected dubious ownership in repository at '/github/workspace' #116
Comments
Any feedback on this? I can make a pull request if required? I'd prefer not to have to fork... |
I'm also getting this error, did you find a workaround @Stiofan? |
Yes, add a .distignore file to your repo, and add the things you don't want to be uploaded there, this makes it skip the problematic part of the code. Hopefully, they can still fix the issue though. |
Thanks for sharing a working solution! |
@Stiofan Thank you for sharing the solution and save the day. |
Thanks for sharing the workaround, @Stiofan! 🙌 |
Fixes #116: detected dubious ownership issue for github workspace.
This issue was closed but I still do encounter it: https://github.com/alexminza/wc-victoriabank/actions/runs/4707791867/jobs/8349876966 |
Hello @alexminza 👋 On https://github.com/alexminza/wc-victoriabank/blob/7f950a72c096b17a95e24522480e04081d38f579/.github/workflows/action-wordpress-plugin-deploy.yml#L13, I saw that you're loading this dependency like this:
Looking at the corresponding PR, I see that the fix had been merged into If you load the dependency like this, the problem should be solved on your end:
|
Good observation @nielslange - thanks! |
@jeffpaul Can you clarify what's going on with |
When using a .gitattributes file (instead of a .distignore ) we got the following error when deploying the plugin:
This folder is not in our repo, it seems to be a github default folder so...
Our repo: https://github.com/AyeCode/google-maps-api-key
This error seems to be appearing for a few other actions recently
robotology/gh-action-nightly-merge#11
actions/checkout#766
The solution seems to be to either use the .distignore file or you need to add this to your deploy script:
The text was updated successfully, but these errors were encountered: