A platform for community discussion. Free, open, simple.
DEV: Update dependabot commit-message splitting (#30721)
David Taylorac60ba59544a
diff --git a/.github/workflows/check-pr-body.yml b/.github/workflows/check-pr-body.ymlindex d434adeb42a..cc33fba8f6f 100644--- a/.github/workflows/check-pr-body.yml+++ b/.github/workflows/check-pr-body.yml@@ -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.stripputs "Updating body to commit message...\n\n---\n#{new_description}\n---"