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 摘要。