Skip to content
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

PHPStan. Add support to change repository url #80

Open
rybkinevg opened this issue Jan 27, 2023 · 0 comments
Open

PHPStan. Add support to change repository url #80

rybkinevg opened this issue Jan 27, 2023 · 0 comments

Comments

@rybkinevg
Copy link

rybkinevg commented Jan 27, 2023

Hello!

I store my modules as a packages in the private packagist and I faced the problem with PHPStan action: when action is running it tries to download package dependency and falls down with error, cause this package is in the private packagist.

Example of the composer.json file:

{
    "name": "vedor/module-foo-bar",
    "type": "magento2-module",
    "require": {
        "magento/framework": "*",
        "vendor/module-from-private-packagist": "*"
    },
}

As I can see, the repository variable is installing in the some places here, here and lastly here.

It would be great to pass the REPOSITORY_URL and COMPOSER_AUTH as environment variables same as we are installing them into integration tests action like this:

jobs:
  integration-tests:
    env:
      REPOSITORY_URL: ${{ secrets.REPOSITORY_URL }}
      COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant