From 85b94871a4a71e3874110b8eac1cf130757d3605 Mon Sep 17 00:00:00 2001 From: Brandon Oldenhof Date: Wed, 10 May 2023 12:40:04 +0200 Subject: [PATCH] Updated filtering of TW task from PR body --- src/github.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.sh b/src/github.sh index 31f3549..36cb7be 100644 --- a/src/github.sh +++ b/src/github.sh @@ -62,6 +62,6 @@ github::print_all_data() { github::get_pr_body_without_task() { local -r pr_body=$(github::get_pr_body) - local output=$(echo "$pr_body" | sed -E 's/#### Description of the changes(.*)/\n#### Description of the changes\1/g') + local output=$(echo "$pr_body" | sed -n '/^#### Description/,$p') log::message "$output" }