github / github/app

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

Aperta
#3,963 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Nessun dato sulla lingua
Stelle
2.1k
Fork
157
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con il flusso Create pull request della GitHub Copilot App su Windows e confronta il relativo controllo della disponibilità dell'account con lo stato dell'account collegato mostrato nelle impostazioni del progetto. Riproduci il problema seguendo i passaggi elencati, incluso il riavvio dell'app e l'avvio di una nuova sessione; il lavoro è completato quando un account collegato viene accettato e la creazione della pull request non lo segnala più come non disponibile.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github
Ambito
desktop
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.