Tweak release script dependabot wording

This commit is contained in:
David Robertson 2023-05-30 14:05:44 +01:00
parent a103b874dd
commit cebff6f4d5
No known key found for this signature in database
GPG key ID: 903ECE108A39DEDD

View file

@ -875,6 +875,8 @@ def build_dependabot_changelog(repo: Repo, current_version: version.Version) ->
for i, message in enumerate(messages): for i, message in enumerate(messages):
messages[i] = re.sub(r"(.*) \(#(\d+)\)$", replacer, message) messages[i] = re.sub(r"(.*) \(#(\d+)\)$", replacer, message)
messages.insert(0, "### Updates to locked dependencies\n") messages.insert(0, "### Updates to locked dependencies\n")
# Add an extra blank line to the bottom of the section
messages.append("")
return "\n".join(messages) return "\n".join(messages)