From ea7539c8e30eb929f48291bcfe57f8576bd52bd9 Mon Sep 17 00:00:00 2001 From: Leorize Date: Wed, 1 Dec 2021 21:19:19 -0600 Subject: [PATCH] bors: cut PR description at the first thematic break After the thematic break, the information typically stops being related to the PR itself (for example, dependabot command lists). Thus cut the body there to avoid introducing junk into the merge commit. --- bors.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bors.toml b/bors.toml index 98e7d062cfd..44278e0b81a 100644 --- a/bors.toml +++ b/bors.toml @@ -7,3 +7,7 @@ status = [ pr_status = [ "PR has only one commit" ] + +# When turning PR into commit message, consider the body ends at the first +# thematic break. +cut_body_after = "---"