action-setup icon indicating copy to clipboard operation
action-setup copied to clipboard

Could not read from remote repository due to renamed organization

Open erhant opened this issue 1 year ago • 0 comments

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 [email protected]: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'...
  [email protected]: 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:

  • Action link: https://github.com/firstbatchxyz/hollowdb-vector/actions/runs/7366247416/job/20048332014
  • Workflow link: https://github.com/firstbatchxyz/hollowdb-vector/actions/runs/7366247416/workflow

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)

erhant avatar Dec 31 '23 12:12 erhant