From 5bf18fd6df08defcd51d9de7a36b071a96d8db40 Mon Sep 17 00:00:00 2001 From: takakura <31662623+secobaka@users.noreply.github.com> Date: Tue, 9 Jul 2024 10:16:25 +0900 Subject: [PATCH] Update lib/git/pr/release/util.rb Co-authored-by: Takafumi ONAKA --- lib/git/pr/release/util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git/pr/release/util.rb b/lib/git/pr/release/util.rb index fbd58c8..8689715 100644 --- a/lib/git/pr/release/util.rb +++ b/lib/git/pr/release/util.rb @@ -157,7 +157,7 @@ def merge_pr_body(old_body, new_body) merged_body = pr_body_lines.join("\n") check_status.each { |issue_number, check_value| say "Update pull-request checkbox \##{issue_number} to #{check_value}.", :trace - merged_body.gsub! /^- \[ \] \##{issue_number}\s/, "- [#{check_value}] \##{issue_number}\s" + merged_body.gsub! /^- \[ \] \##{issue_number}\b/, "- [#{check_value}] \##{issue_number}" } merged_body