github / github/vscode-github-actions

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

未关闭
#501 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
660
派生
213
PR 合并指标
30 天内没有已合并 PR

描述

**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

贡献指南

打开贡献指南

调研方向

Start by reproducing the reported sequence with github-enterprise.uri and github-actions.use-enterprise enabled: reopen the same project and workflow after restarting VS Code, then toggle the setting. Trace the project and pipeline detection entry points involved in that sequence. Done means the GitHub Actions panels remain populated without toggling the setting.

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

评估

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

把新 issue 发到你的邮箱

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