-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Bug: Unable to create file /github/home/.composer/config.json in Github Action #200
Comments
Found origin of issue. |
It's time to explains and understand why there are issues since v9.0.4, while v9.0.3 works as expected : Look and compare I've introduced a non-root user to avoid issue #182 I've also, introduced a new issue with line https://github.com/overtrue/phplint/blob/9.0.4/Dockerfile#L19. Look and also compare Until v9.0.3, PHPLint used Docker root (account), and hardcoded the path with I've tried to removed the hardcoded syntax by using this It will be ok, if GitHub Action Runner did not hardcode itself the HOME user directory (with As it's not yet possible, unless GitHub Action team decide to revert their behaviour, Hope these explains are enough to understand current status of PHPLint ! |
Bugfix releases 9.0.7 and 9.1.1 are on way ! /cc @overtrue |
…for all context and not only debugging purpose
Fix already available with version 9.0.8 I'll release then 9.1.1 accordingly |
@chris-bateman I recommend to use the latest version 9.1.1 (quite similar to 9.0.8) unless you're still running with PHP 8.0 on your platform |
@llaville Thank you for the quick turn around. Working perfectly now :) |
New Issue
Unable to create file /github/home/.composer/config.json
Diagnose
Output of `composer show` command
Output of `docker inspect overtrue/phplint:latest` command
Output of `phplint.phar --manifest` command
Summary
Version 9.0.3 works correctly.
Moving to version 9.0.4 or greater results in the below error.
Github workflow file in use -
Expected behaviour
It runs successfully
Actual behaviour
The text was updated successfully, but these errors were encountered: