Tweak release script dependabot wording

pull/15699/head
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
1 changed files with 2 additions and 0 deletions

View File

@ -875,6 +875,8 @@ def build_dependabot_changelog(repo: Repo, current_version: version.Version) ->
for i, message in enumerate(messages):
messages[i] = re.sub(r"(.*) \(#(\d+)\)$", replacer, message)
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)