github / github/vscode-github-actions

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

Abierto
#50 8 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
TypeScript
Estrellas
660
Forks
213
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.