-
Notifications
You must be signed in to change notification settings - Fork 76
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: unsafe repository ('/github/workspace' is owned by someone else) #132
Comments
I resolved this issue temporary 🙇
|
There are some more details about this error in a more general context here: actions/checkout#760 |
Hmm, I've upgraded to checkout action v3, and I've also set |
The difficulty for this action is that it runs git inside Docker, so the place where you need to edit the git config is inside the container. That is why the comment above suggests forking this repository (this is what I've done as a workaround as well). |
Thanks, that makes sense for the |
Looks like there's a new issue specifically about failing "in other workflow steps after running checkout". |
I tried the comment but it seems the markdown link checker cannot access the reference links, any insight? |
The issue with reference links is not related to the permissions issue, but should be resolved by #129 being merged and released. |
This works around not being able to fetch to an "unsafe repository", see [1]. [1]: gaurav-nelson/github-action-markdown-link-check#132 (comment) Signed-off-by: Sebastian Schuberth <[email protected]>
This works around not being able to fetch to an "unsafe repository", see [1]. [1]: gaurav-nelson/github-action-markdown-link-check#132 (comment) Signed-off-by: Sebastian Schuberth <[email protected]>
ok, I see 7h ago new |
…nk-check" This reverts commit 7b20661 as the upstream issue has been fixed, see [1]. [1]: gaurav-nelson/github-action-markdown-link-check#132 (comment) Signed-off-by: Sebastian Schuberth <[email protected]>
…nk-check" This reverts commit 7b20661 as the upstream issue has been fixed, see [1]. [1]: gaurav-nelson/github-action-markdown-link-check#132 (comment) Signed-off-by: Sebastian Schuberth <[email protected]>
This sets the 'safe.directory' option for Git to permit running in the GitHub workspace as expected. References: * https://github.blog/2022-04-12-git-security-vulnerability-announced/ * actions/checkout#760 * gaurav-nelson/github-action-markdown-link-check#132
Hey, something wrong started happening few hours ago with the action.
fatal: unsafe repository (REPO is owned by someone else)
with ubuntu 20.04 container actions/checkout#760logs:
I tried a few workarounds but non of them works: https://github.com/derberg/test-experiment/blob/derberg-patch-20/.github/workflows/links.yml#L16-L20
any ideas?
The text was updated successfully, but these errors were encountered: