github / github/vscode-github-actions

make sign-out / sign-in possible with multiple accounts

Đang mở
#474 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
enhancement
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ả

Many developers have multiple Git-Accounts:

- work
- university
- private accounts
- public (and non-work, non-university related) accounts

(For simplicity let us just make the unrealistic assumption that all of these git accounts are on GitHub.)

The GitHub Pull Request extension in MS VSCode respects these. (I guess it just observes what the local .git/config is.)

![Command Palette for "GitHub Pull Request"](https://github.com/user-attachments/assets/9b06083b-f774-4f64-bd0d-3f8a598d6faf)

But the GitHub Actions extension in VSCode does not.
There is not even the option to "sign in/out" and manually select an account. (I think you do it once and cannot change it thereafter.)

![Command Palette for "GitHub Actions"](https://github.com/user-attachments/assets/e0203e55-8a66-4c65-bf3b-e2fdca591537)

## Proposed solution ##

I would like to see e.g.

1. a Command Palette menu option to sign in/out for the GitHub Actions extension


or the Actions and PR extensions should have synchronised settings
(vis-a-vis current account for current workspace)

2. the ability to possible set Git[Hub] Account at the (VSCode) profile level

3. possibly a way to do select accounts via VSCode's (local or global) **settings.json**

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

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

Hướng nghiên cứu

Bắt đầu bằng cách so sánh hành vi đăng nhập của các extension GitHub Actions và GitHub Pull Request, bao gồm .git/config cục bộ và VS Code Command Palette. Xem xét cách các profile của VS Code và settings.json cục bộ hoặc toàn cục có thể biểu diễn một tài khoản, sau đó xác định một quy trình đăng nhập/đăng xuất nhất quán, với việc chọn tài khoản ở cấp workspace là tiêu chí hoàn thành.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github, github-actions, typescript, vscode
Lĩnh vực
authentication, developer-experience, tooling
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
30/100

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.