Dependabot yml commit-message
prefs also impact PR titles
#33995
Labels
code security
Content related to code security
content
This issue or pull request belongs to the Docs Content team
help wanted
Anyone is welcome to open a pull request to fix this issue
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#commit-message
What part(s) of the article would you like to see updated?
The
commit-message
settings also impact PR titles — there's no mention in and around this config section (might be elsewhere, wasn't able to find it explained anywhere) so it'd be worth adding not only commits change, but also the effective PR titles.Additionally there's no info how to change PR titles (= i.e. mention it's always populated based on the commit messages, either explicitly set or auto-detected from the repo history…)
Additional information
I wanted to change the format of Dependabot PR titles to pre-populate the correct form for squash merging and couldn't find any configuration for it. Only randomly found out the titles match the commits, therefore setting the
commit-message
pref also sets the PR title. This is not explained in the docs, and neither is a mention of how to change the format of the PR title for those who don't care about commit messages, but look for customising the PR titles. The setting does both (and is the only place for it.) = i.e. titles and commit messages are always to be set to the same style.The text was updated successfully, but these errors were encountered: