Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Reusable workflow links ignore `github-enterprise.uri` configuration

Aperta
#573 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
github-actions, typescript, vscode

Direzione di ricerca

Inizia in src/workflow/languageServer.ts e segui come gitHubApiUrl da initializationOptions arriva alla generazione dei link per reusable-workflow. Riproduci il comportamento al passaggio del mouse o al clic con github-actions.use-enterprise abilitato, quindi verifica che i link Enterprise utilizzino l'host configurato mentre i link a github.com rimangano invariati.

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

Descrizione

bug

Describe the bug
When using github-actions.use-enterprise: true with a configured github-enterprise.uri (e.g. https://my-company.ghe.com), the links generated for reusable workflows in the uses: clause incorrectly point to github.com instead of the Enterprise instance.

To Reproduce
Steps to reproduce the behavior:

  1. Configure settings:
   \"github-enterprise.uri\": \"https://my-company.ghe.com\",
   \"github-actions.use-enterprise\": true
  1. Open a workflow file.
  2. Add a reusable workflow reference:
uses: my-org/shared-workflows/.github/workflows/workflow.yml@v1
  1. Hover or Click the link on the uses path.

Expected behavior
The link should open https://my-company.ghe.com/my-org/shared-workflows/blob/v1/.github/workflows/workflow.yml.

Actual behavior
The link opens https://github.com/my-org/shared-workflows/tree/v1/.github/workflows/workflow.yml.

Additional Context
The extension correctly passes gitHubApiUrl to the language server initializationOptions in src/workflow/languageServer.ts, but it appears the link generation logic in the language server defaults to github.com

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.