Reputation: 103
When I create a PR it's title and body are already filled, in case of main with last commit title and body, and if I create PR to other branch it paste my branch's name as a title. Do somebody know where/how can I manage this default PR titles?
Upvotes: 10
Views: 3695
Reputation: 1
body:
- type: dropdown
id: download
attributes:
label: How did you download the software?
options:
- Built from source
- Homebrew
- MacPorts
- apt-get
default: 0
validations:
required: true
Upvotes: -1
Reputation: 76774
GitHub doesn't offer a way to manage default PR titles or messages. In general, there aren't many sane things that could be filled in as a title or PR message. For example, you wouldn't always want to use the same title for a PR, because that would make it difficult for others to reason about your change.
If the default title or message don't suit you, you can just replace them with the values you'd like. For example, I often replace the body with a more nicely formatted version of one of my commit messages, and I'll often change the title to something more descriptive (and properly capitalized). It's fully expected that you'll need to do some editing here; the goal is to just make it so that sometimes, you need to do less.
Upvotes: 2