github / github/vscode-github-actions

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

Đang mở
#501 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
660
Fork
213
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.