【发布时间】:2021-07-22 07:11:01
【问题描述】:
我想在我的 github Enterprise org 中使用 github.com/crowdin 组织中的 github 操作。
由于我不能直接使用它(或将其分叉到我的组织),我已经克隆了镜像并将其镜像推送到我的 GHE 组织中。
当尝试从我的操作工作流程中引用它时,我遇到了这个错误:
无法解析动作下载信息。错误:无法解析操作
myorg/github-action@1.2.0,在此服务器上找不到存储库。如果您想从 GitHub.com 使用此操作,请参阅以下文档:https://docs.github.com/en/enterprise/admin/github-actions/managing-access-to-actions-from-githubcom
克隆的存储库肯定有 1.2.0 版本,根据 github 操作自述文件,这是引用它的正确方法。 我怀疑这可能与镜像克隆和推送有关。 我确实收到了一堆关于拉取请求的 refs 的错误,例如:
"! [remote denied] refs/pull/12/head -> refs/pull/12/head (拒绝更新隐藏的 ref)"
但是通过谷歌搜索,我得到的印象是这些不是镜像克隆的严重错误
【问题讨论】:
标签: github-actions github-enterprise crowdin