`gh stack submit` does not respect org-wide PR template
- Linguagem predominante
- Go
- Estrelas
- 1.5k
- Forks
- 70
- Merge médio
- 1d 8h
- PRs com merge (30d)
- 7
Descrição
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.
Guia de contribuição
Direção de pesquisa
Comece rastreando o ponto de entrada `gh stack submit` e seus caminhos de diálogo padrão e `--auto`, usando github/gh-stack pull request #77 como contexto para templates em todo o repositório. Reproduza ambos os modos com um template de PR para toda a organização e, em seguida, verifique se o pull request resultante inclui esse template sem perder o footer existente.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- github, go
- Domínio
- api, cli
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Ativa
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 58/100