如何处理 Github Action 报出的 remote: Permission to xx x denied to github-actions[bot] 问题

如何处理 Github Action 报出的 remote: Permission to xx x denied to github-actions[bot] 问题

💡 原文中文,约800字,阅读约需2分钟。
📝

内容提要

为了帮助@MikeyWei实现Hexo自动部署,我使用了GitHub Action,但遇到了一个问题:GitHub提示remote: Permission to xx x denied to github-actions[bot]。经过研究发现,在Action的yaml中添加了permission的描述,为这个Job新增了写权限,解决了问题。

🏷️

标签

➡️

继续阅读