DEV: Update dependabot commit-message splitting (#30721)

Followup to c6da8e3356
This commit is contained in:
David Taylor 2025-01-10 20:58:50 +00:00 committed by GitHub
parent b2167a79b4
commit ac60ba5954
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@ jobs:
commit_message = `git log -1 --pretty=%b`
raise "Failed to get commit message" unless $?.success?
new_description = commit_message.split("---").first.strip
new_description = commit_message.split("\n---\n").first.strip
puts "Updating body to commit message...\n\n---\n#{new_description}\n---"