github / github/vscode-github-actions

Try to auto-detect which remote points to github.com

Aberta
#50 8 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
TypeScript
Estrelas
660
Forks
213
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**Is your feature request related to a problem? Please describe.**

The extension couldn't find GitHub repository for the git repository when both of the following conditions are met:

- git repository has two remotes
- github url is not set as `origin` remote

i.e.:

```
$ git remote -v
github https://github.com/my-org/my-repo.git (fetch)
github https://github.com/my-org/my-repo.git (push)
origin https://internal-scm.example.com/my-repo.git (fetch)
origin https://internal-scm.example.com/my-repo.git (push)
```

**Describe the solution you'd like**
Let the extension detect GitHub repository from all the remotes, not only from `origin`.

**Additional context**

AFAIK GitHub CLI supports this scenario.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.