github / github/vscode-github-actions

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

未關閉
#474 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
TypeScript
星號
660
分支
213
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

開啟貢獻指南

研究方向

Start by comparing the GitHub Actions and GitHub Pull Request extension sign-in behavior, including the local .git/config and VS Code Command Palette. Review how VS Code profiles and local or global settings.json could represent an account, then define a consistent sign-in/sign-out flow with workspace-level account selection as the completion criterion.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github, github-actions, typescript, vscode
領域
authentication, developer-experience, tooling
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。