Allow commit_message_options to be passed to pull request creator #1227
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allows a hash of commit message options to be passed to the pull request creator. The allowed options are:
signoff_detailswhich works as currently usedprefixwhich allows a prefix to be specifiedinclude_scopewhich takes a boolean to determine with the dependency's scope should be included in the prefixThe intention is for
prefixandinclude_scopeto be allowed keys undercommit_messagein Dependabot's config files, and for this to provide a robust way for folks to specify that they want to use a particular commit style. A config file might look like:One deficiency here is that the same prefix will be used for all commits, so this won't help folks who want to specify
fixfor some commits andbuildfor others. That's a pity, but we can iterate towards a solution there if required.Another option I've toyed with including but so far excluded is
downcase_subject, as some conventions require that the entire first line of the commit message is downcased. That would be easy to add later.