-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
“Detected dubious ownership” issue when using php-actions/composer@v6 #120
Comments
I think this is related to composer/composer#12158 so it might be an upstream issue. I'm still testing but I think we got around this by using https/zips for the repository vcs urls. |
Let's keep this issue open for a while until the upstream fix makes its way down. I think your comments are all correct, but maybe we won't need to change anything for the https/zip suggestion if this has been fixed in composer? |
No fix yet but some more discussion here composer/composer#12192 Not my wheelhouse but passing the scope/context to the action might be a workaround? At least that seems to be what happens in a lot of actions. |
Locking composer to - name: Install PHP dependencies
uses: php-actions/composer@v6
with:
# ...
# Lock composer to working version.
# See https://github.com/php-actions/composer/issues/120
version: 2.8.1 |
I also got round this by removing composer caching from my build. |
I am experiencing an issue when using the
php-actions/composer
action with the following configuration in a GitHub Actions pipeline:The issue occurs during the Install Composer step, showing the following error message:
Details:
Question:
Is there a recommended way to handle this “dubious ownership” issue more efficiently, or could an enhancement be made to the php-actions/composer action to manage this scenario?
The text was updated successfully, but these errors were encountered: