Doesn't always pick up custom url from github-enterprise.uri

Aperta
#501 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github, github-actions, typescript, vscode
Ambito
ci-cd, devtools

Direzione di ricerca

Inizia riproducendo la sequenza segnalata con github-enterprise.uri e github-actions.use-enterprise abilitati: riapri lo stesso progetto e lo stesso workflow dopo aver riavviato VS Code, quindi attiva o disattiva l'impostazione. Traccia i punti di ingresso del rilevamento del progetto e della pipeline coinvolti in questa sequenza. Il lavoro è completato quando i pannelli GitHub Actions rimangono popolati senza attivare o disattivare l'impostazione.

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

Descrizione

bug

Describe the bug

I've been using this plugin with the GitHub Enterprise instance, that's why I have github-enterprise.uri set in my vscode configuration. I've occasionally been experiencing empty tiles in the GitHub Actions panels with a message like No GitHub repositories found. Please open a folder that contains a GitHub repository. even if I have a project with the GitHub pipelines open. However, I've been using some of the workflows in there before. If I'd toggle the github-actions.use-enterprise off and on all previously actions appear again. I assume the plugin doesn't correctly detect the active projects.

To Reproduce

Steps to reproduce the behavior:

  1. Set both github-enterprise.uri and github-actions.use-enterprise parameters.
  2. Authenticate as usual.
  3. Open a project. Check the available GitHub Actions pipeline. All good.
  4. Close all the tabs. Close the IDE.
  5. Re-open the IDE (same project). Open the project. Check the available GitHub Actions. The list is empty.
  6. Open any GitHub Actions workflow file by double-clicking. Check the available GitHub Actions tiles. The list is empty.
  7. Go to setting and toggle the github-actions.use-enterprise parameter off and on. The list is now populated.

Expected behavior

The plugin should correctly detect the projects and the pipelines when both github-enterprise.uri and github-actions.use-enterprise are set.

Screenshots

N/A

Extension Version

0.27.2

Additional context

N/A

Lingua principale
TypeScript
Stelle
661
Fork
214
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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.

Altre issue di github/vscode-github-actions

Tutte le issue di github/vscode-github-actions

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.