`gh stack submit` does not respect org-wide PR template
- Lenguaje dominante
- Go
- Estrellas
- 1.5k
- Forks
- 70
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 7
Descripción
My organisation has an org-wide PR template, just as the one described here: https://github.com/orgs/community/discussions/183776. We used to have these templates in each repo, but they were all the same and repetitve, so we decided to define them in one place. We'd rather not go back to per-repo template.
Unfortunately, `gh stack submit` does not seem to respect them. User has two options with this command:
* By default it opens CLI dialog to enter PR's title and description. It doesn't use the org template
* `--auto` creates PR with some pre-populated footer and nothing else. Again no template is used.
The command supports repo-wide templates, thanks to https://github.com/github/gh-stack/pull/77, but this PR does not seem to take org-wide templates into account.
Guía de contribución
Línea de trabajo
Empieza rastreando el punto de entrada `gh stack submit` y sus rutas del diálogo predeterminado y de `--auto`, usando github/gh-stack pull request #77 como contexto para las plantillas de todo el repositorio. Reproduce ambos modos con una plantilla de PR para toda la organización y verifica después que el pull request resultante incluya esa plantilla sin perder el footer existente.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- github, go
- Área
- api, cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 58/100