/install-github-app ⎿ Couldn't install GitHub App: Failed to access repository F...
🚨 错误信息
/install-github-app
⎿ Couldn't install GitHub App: Failed to access repository
For manual setup instructions, see: https://github.com/anthropics/claude-code-action/blob/main/docs/setup.md
🤖 AI解决方案
Couldn't install GitHub App: Failed to access repository
⎿ 无法安装 GitHub App:无法访问仓库
原因分析:
GitHub App 在尝试访问您的仓库时权限不足或仓库不存在。
解决方案:
- 检查仓库是否存在且可访问: * 确认您指定安装 GitHub App 的仓库名称拼写正确,并且该仓库确实存在于您的 GitHub 账户或组织中。 * 如果您是在组织下安装,请确保您具有安装 App 的权限。
- 检查 GitHub App 权限:
- 手动设置(如链接所示):
- 在安装 GitHub App 前,务必仔细阅读其文档,了解其所需的权限和配置要求。
- 对于组织内的 GitHub App 安装,请与您的 GitHub 管理员确认您是否具备必要的安装权限。
* 前往 GitHub App 的设置页面(如果这是您自己的 App)或查看其文档,确保 App 被授予了访问相关仓库的必要权限(例如,
contents: read 或 contents: write)。* 如果您是通过 GitHub Marketplace 安装的第三方 App,请检查您授予该 App 的权限是否包含对目标仓库的访问。
* 请遵循此链接中的手动设置说明:https://github.com/anthropics/claude-code-action/blob/main/docs/setup.md
预防措施: