pnpm / action-setup

Install pnpm package manager
https://github.com/marketplace/actions/setup-pnpm
MIT License
939 stars 89 forks source link

Could not read from remote repository due to renamed organization #107

Open erhant opened 10 months ago

erhant commented 10 months ago

Hello,

When I install my packages on my local machine (macOS) using the pnpm version, everything is installed fine and my tests & builds are passing. However, in CI workflow it seems it cant find a certain repo due to name change:

  Lockfile is up to date, resolution step is skipped
  Progress: resolved 1, reused 0, downloaded 0, added 0
  .                                        |    +1199 ++++++++++++++++++++++++++++
  Progress: resolved 1199, reused 0, downloaded 135, added 131
  undefined
   ERROR  Command failed with exit code 128: /usr/bin/git clone git@github.com:Bundlr-Network/avsc.git /home/runner/setup-pnpm/node_modules/.bin/store/v3/tmp/_tmp_2016_eabe5a8c37e5a78d311edc995da85a1e
  Cloning into '/home/runner/setup-pnpm/node_modules/.bin/store/v3/tmp/_tmp_2016_eabe5a8c37e5a78d311edc995da85a1e'...
  git@github.com: Permission denied (publickey).
  fatal: Could not read from remote repository.

  Please make sure you have the correct access rights
  and the repository exists.

For more details:

The problem repository belongs to Bundlr Network, who have recently change their name to Irys. As such, their organization has moved from Bundlr-Network to Irys-xyz which has changed the repo link as follows:

- https://github.com/Bundlr-Network/avsc
+ https://github.com/Irys-xyz/avsc

If you connect to old link, it still resolves to the new one due to how GitHub works I guess, but pnpm in CI environment has an issue.

Would love if anyone can help, perhaps there is a command line option for something like this? Thanks!

[!NOTE]

I'm opening the issue here instead of pnpm repo because I only get this error in CI environment. (https://github.com/firstbatchxyz/hollowdb-vector/issues/3)