Yikun / hub-mirror-action

一个Github Action,用于在Github和Gitee之间同步代码。Action for mirroring repos between Hubs (like Github and Gitee).
MIT License
634 stars 173 forks source link

公共仓库间同步失败 #163

Closed YINGHAIDADA closed 2 years ago

YINGHAIDADA commented 2 years ago
Cmd('git') failed due to: exit code(128)
  cmdline: git push -f gitee refs/remotes/origin/*:refs/heads/* --tags --prune
  stderr: 'Load key "/root/.ssh/id_rsa": error in libcrypto
git@gitee.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.'
Total: 1, skip: 0, successed: 0, failed: 1.
Failed: ['School_Network_AutoConnecter']

工作流报错如上,反复检查了权限和密匙,依然失败,不知是何原因

Yikun commented 2 years ago

是因为公仓创建审核的原因吗?

wzwtt commented 2 years ago

我的也是这个报错,不知如何解决

YINGHAIDADA commented 2 years ago

我的也是这个报错,不知如何解决

是密匙的问题,那个上下的分际线也是密匙的一部分记得复制进去

wzwtt commented 2 years ago

我的也是这个报错,不知如何解决

是密匙的问题,那个上下的分际线也是密匙的一部分记得复制进去

谢谢你,把上下分割线加进去就解决了🌹