-
Notifications
You must be signed in to change notification settings - Fork 63
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
Detected dubious ownership in repository #654
Comments
Related – actions/runner-images#6775 This seems to be caused by old (or perhaps mismatched) versions of the runner. There are conflicting reports so it is unclear (for now) what the exact root cause is. |
@marcospassos What OS and runner version is your action using? |
OS: ubuntu-latest |
We have, right now, 100+ packages failing due to this. It's only affecting the |
@marcospassos If this is a blocker, I would recommend removing the action temporarily, as I'm not seeing this elsewhere (including personal projects), and I'm not sure how to debug this, especially when I do not have a reproducible system. |
@paambaati Catch the same issue |
UPD: |
I’m fairly confident that this is (was?) an issue on the GitHub side of things (as I’m seeing similar reports on other projects as well), hence the “external” label. I’ll wait for @marcospassos to confirm before closing this issue. |
I'm still facing the same issue in 100+ repositories. No other actions were affected, only the codeclimate-action. |
@marcospassos Can you create an SSCCE for me so I can take a closer look? |
We are seeing a similar issue in all of our installs as well, we had to add a step to download the key from the key server prior to kicking off the action
|
@apge-jonathan Interesting. Would you mind answering a few questions —
|
@marcospassos Is this still an issue? If yes, can you try adding a new step in your workflow? steps:
- uses: actions/checkout@v3
+ - run: git config --system --add safe.directory '*' I found these workarounds in actions/checkout#1169 and actions/checkout#1048. |
Yes, we're still facing this. This workaround worked for us: steps:
- name: Change owner of container working directory
run: chown root:root . |
Closing this, as this issue is not caused by this library. |
Describe the bug
I started seeing this error today:
Version of
codeclimate-action
you're usingv3.2.0
Expected behavior
Not error.
Config:
The text was updated successfully, but these errors were encountered: