mirror of
https://github.com/discourse/discourse.git
synced 2025-01-16 01:02:41 +08:00
DEV: Update dependabot commit-message splitting (#30721)
Followup to c6da8e3356
This commit is contained in:
parent
b2167a79b4
commit
ac60ba5954
2
.github/workflows/check-pr-body.yml
vendored
2
.github/workflows/check-pr-body.yml
vendored
|
@ -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---"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user