microsoft / microsoft/vscode-pull-request-github
Authenticate gh cli automatically in integrated terminal
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.6k
- Forks
- 796
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 46
Description
This is a duplicate of https://github.com/cli/cli/issues/1074. I'm creating it here since the implementation should probably belong here.
The gh cli now supports the environment variable GITHUB_TOKEN for authentication. This extension could expose the GITHUB_TOKEN to the integrated terminal in order to automatically provide authentication for gh cli.
Original text:
VSCode now provides GitHub authentication for git even in its Terminal.
If gh had support for that too, we could have a seamless GitHub Authentication when using gh inside VSCode, which can mainly benefit vscode-dev-containers , Visual Studio Codespaces, and therefore, the upcoming GitHub Codespaces.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked duplicate issue #1074 and the referenced VS Code GitHub authentication update. Inspect how this extension integrates with the integrated terminal; done means exposing GITHUB_TOKEN there so gh can authenticate automatically.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, typescript, vscode
- Domain
- authentication, developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100