App Gets Confused Which GitHub Account It Should Use for Tokens
还没有人认领这个 Issue。
- 主要语言
- 没有语言数据
- 星标
- 2.1k
- 派生
- 157
- PR 合并指标
- 30 天内没有已合并 PR
描述
When being logged in in multiple GitHub Accounts (e.g. one with tokens and another with read/write to our repositories) the app regularly gets confused and switched to the account without tokens. This leads to hiccups and warnings about token limits.
If I log out with the account, which has read/write to our repositories, I can't push anymore.
Every time I have to intentionally select the account with the tokens to continue, which is kind of cumbersome.
Maybe you could add that you can have one account only for repo access and one account for token usage or clearly define in the settings which account can do what.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先使用两个 GitHub 账户复现该行为:一个拥有 tokens,另一个拥有 repository 访问权限。检查应用如何为 token 使用和 repository 操作选择账户。当可以选择角色或将角色保持分离,从而不再需要为了 token 限制警告和向 repository push 而反复手动切换账户时,即可视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github
- 领域
- authentication, authorization
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 活跃
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100