Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#501 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
github, github-actions, typescript, vscode
领域
ci-cd, devtools

调研方向

首先,在启用 github-enterprise.uri 和 github-actions.use-enterprise 的情况下重现报告的操作序列:重启 VS Code 后重新打开同一个项目和工作流,然后切换该设置。跟踪该序列涉及的项目和流水线检测入口点。完成的标准是无需切换该设置,GitHub Actions 面板仍保持有内容。

由索引模型根据 Issue 内容生成。

描述

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

主要语言
TypeScript
星标
661
派生
214
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/vscode-github-actions 的其他 Issue

查看 github/vscode-github-actions 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。