Reusable workflow links ignore `github-enterprise.uri` configuration
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 57/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- github-actions, typescript, vscode
調査の方向性
src/workflow/languageServer.ts から始め、initializationOptions の gitHubApiUrl が reusable-workflow のリンク生成にどう到達するかを追跡します。github-actions.use-enterprise を有効にした状態でホバーまたはクリックの動作を再現し、その後、Enterprise リンクが設定されたホストを使用し、github.com へのリンクは変更されないことを確認します。
索引モデルが issue の本文から書いたものです。
説明
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:
- Configure settings:
\"github-enterprise.uri\": \"https://my-company.ghe.com\",
\"github-actions.use-enterprise\": true
- Open a workflow file.
- Add a reusable workflow reference:
uses: my-org/shared-workflows/.github/workflows/workflow.yml@v1
- Hover or Click the link on the
usespath.
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
- 主要言語
- TypeScript
- スター
- 661
- フォーク
- 214
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/vscode-github-actions のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
github/vscode-github-actions#627 · リアクション 1 件 ·
-
long work オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
github/vscode-github-actions#628 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
github/vscode-github-actions#625 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
github/vscode-github-actions#621 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
github/vscode-github-actions#619 ·
github/vscode-github-actions の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
fil-donadoni/tolaria#4409 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
corsairdev/corsair#1764 ·