如何使 GitHub Actions 与外部贡献者制作的 PR 配合使用?
CI 在我推送提交时起作用:
https://github.com/paulrberg/prb-proxy/actions/runs/1958606928< /a>
但当外部贡献者从其分叉版本的存储库中创建 PR 时,它会失败:
https://github.com/paulrberg/prb-proxy/runs/4581619160
由于此错误,执行失败:
错误:请将 MNEMONIC 设置为环境变量
,但 MNEOMNIC
秘密就在那里。当外部贡献者的 PR 触发 GitHub Action 时,为什么它不起作用?
My GitHub actions depend on some GitHub secrets that I set in my repo:
CI works when I push a commit:
https://github.com/paulrberg/prb-proxy/actions/runs/1958606928
But it fails when an external contributor makes a PR from their forked version of the repo:
https://github.com/paulrberg/prb-proxy/runs/4581619160
The execution fails because of this error:
Error: Please set MNEMONIC as an env variable
But the MNEOMNIC
secret is there. Why doesn't it work when the GitHub Action is triggered by a PR made by an external contributor?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论