-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
bugSomething isn't workingSomething isn't workinggh-issuerelating to the gh issue commandrelating to the gh issue commandgh-prrelating to the gh pr commandrelating to the gh pr commandp3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic
Description
Describe the bug
The template query parameter is not added to the URL regardless of whether the template exists or not.
gh version 2.52.0 (2024-06-24)
https://github.com/cli/cli/releases/tag/v2.52.0
Steps to reproduce the behavior
gh pr create --base <base_branch> --head <fork_branch> --template <template> --repo <repo> --web
Expected vs actual behavior
I expect the template query parameter to be added to the URL. Even if the template does not exist in the repository because you may want to select an org-wide central pull request template. For example, swiftlang has such a template for pull requests to compiler-aligned release branches.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggh-issuerelating to the gh issue commandrelating to the gh issue commandgh-prrelating to the gh pr commandrelating to the gh pr commandp3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic