-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Description
Describe the bug
Configured editor is not populated with contents of pull request template when running
$ gh pr create
to create a pull request in a repository that does not have a pull request template defined in .github, but has a pull request template defined in a .github repository within the same organization (as laid out here.
Running
$ gh --version
yields
gh version 0.7.0 (2020-04-22)
https://github.com/cli/cli/releases/tag/v0.7.0
Steps to reproduce the behavior
-
Run
$ git clone git@github.com:ergebnis/composer-normalize.gitto clone
ergebnis/composer-normalize, a repository that does not define its own pull request template, but has a pull request template defined inergebnis/.github. -
Run
$ git checkout -b fix/foo $ touch foo $ git add foo $ git commit -m "Foo"to create a new branch, create a new file, and commit it.
-
Run
$ gh pr createto create a new pull request.
-
Press
enterto use suggested title -
Press
eto launch configured editor
Expected behavior
Editor is populated with content of pull request template defined in .github repository for corresponding organization
Actual behaviour
Editor is not populated with content of pull request template defined in .github repository for corresponding organization.