Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Cannot create PR: linked GitHub account is reported as no longer available

未关闭
#3,963 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
github
领域
desktop

调研方向

从 Windows 上的 GitHub Copilot App 的 Create pull request 流程开始,并将其账户可用性检查与项目设置中显示的已关联账户状态进行比较。按照列出的步骤重现该故障,包括重启应用并开始新会话;当已关联账户被接受,且创建 pull request 时不再将其报告为不可用时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Short summary

The GitHub Copilot App consistently fails to create a pull request because it reports that the project's GitHub account is no longer available, even though project settings correctly show the account as linked.

Affected version or release

The issue started occurring recently and persists after updating the app. Exact affected version not recorded.

Installation context

GitHub Copilot App on Windows. The failure occurs when creating a PR from a project session and also persists in a newly started session.

What happened?

Every attempt to create a pull request fails with this error in the Create pull request section:

This project's GitHub account is no longer available. Please re-link the project to a GitHub account before creating a pull request.

However, opening the project's settings and toggling the GitHub account correctly shows that my account is linked. PR creation still fails afterward.

Steps to reproduce
  1. Open an affected project in the GitHub Copilot App.
  2. Open the project settings and toggle the GitHub account; confirm that the account is shown as linked.
  3. Return to the session and attempt to create a pull request.
  4. Observe the error above, despite the account being shown as linked in settings.
  5. Restart the app or start a new session and retry; the same failure persists.
Expected behavior

When the project's GitHub account is linked, the app should use that account to create the pull request rather than report that the account is unavailable. Project settings and PR creation should agree on whether the account is linked.

Additional context

The following troubleshooting has not resolved the issue:

  • Updating the app.
  • Restarting the app.
  • Starting a new session.
  • Toggling the account in project settings and confirming it is shown as linked.

This blocks PR creation from the app. The error above was transcribed from a screenshot of the failure.

主要语言
没有语言数据
星标
2.1k
派生
157
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/app 的其他 Issue

查看 github/app 的全部 Issue

相似的 Issue

更多 Desktop Dev Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。