github / github/vscode-github-actions

Link from a uses: with unspecified version goes to tree/undefined

未關閉
#506 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
TypeScript
星號
660
分支
213
PR 合併指標
30 天內沒有已合併 PR

描述

**Describe the bug**
When writing `uses: actions/checkout` in a file, ctrl + clicking it to open in web browser opens it to github.com/actions/checkout/tree/undefined

**To Reproduce**
1. Create workflow with `uses: actions/checkout` in a step
2. ctrl + click it to go to github
3. 404 page as there is no undefined tag

**Expected behavior**
It should go to the repository main page

**Extension Version**
`v0.27.2`

**Additional context**
It would be cool to know the latest version of that module in the highlight.

貢獻指南

開啟貢獻指南

研究方向

首先,使用包含 `uses: actions/checkout` 的 workflow 步驟重現 ctrl-click 行為,然後追蹤對未指定版本的連結處理。完成的標準是連結開啟 repository 主頁,而不是開啟包含 `tree/undefined` 的 URL;分別考慮擴充功能版本和醒目顯示最新版本的要求。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github-actions, typescript
領域
tooling
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。