From 4aba45e2374168e4485f31fea4fa1c441c35443e Mon Sep 17 00:00:00 2001 From: Kamoltat Date: Tue, 27 Feb 2024 19:21:57 +0000 Subject: [PATCH] src/scripts/ceph-backport.sh: Add PR checklist Signed-off-by: Kamoltat --- src/script/ceph-backport.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/script/ceph-backport.sh b/src/script/ceph-backport.sh index 2de5f91f039..626d9805146 100755 --- a/src/script/ceph-backport.sh +++ b/src/script/ceph-backport.sh @@ -45,6 +45,7 @@ redmine_login="" redmine_user_id="" setup_ok="" this_script=$(basename "$full_path") +gh_pr_template="../../../ceph/.github/pull_request_template.md" if [[ $* == *--debug* ]]; then set -x @@ -1699,6 +1700,11 @@ if [ "$PR_PHASE" ] ; then [ "$original_issue" ] && desc="${desc}\nparent tracker: $(number_to_url "redmine" "${original_issue}")" fi desc="${desc}\n\nthis backport was staged using ceph-backport.sh version ${SCRIPT_VERSION}\nfind the latest version at ${github_endpoint}/blob/main/src/script/ceph-backport.sh" + desc="$desc\n\n" + + while read line; do + desc="$desc$line" + done < ${gh_pr_template} debug "Generating backport PR title" if [ "$original_pr" ] ; then -- 2.39.5