From dcf1969f22873517812164767668076d38991b53 Mon Sep 17 00:00:00 2001 From: edgar sarkisian Date: Tue, 26 Nov 2024 17:19:35 -0500 Subject: [PATCH] add details into generated PR body and title --- copy.bara.sky | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/copy.bara.sky b/copy.bara.sky index 764dd10..d79c4aa 100644 --- a/copy.bara.sky +++ b/copy.bara.sky @@ -13,13 +13,17 @@ core.workflow( destination = git.github_pr_destination( url = sbv3RepoUrl, destination_ref = 'main', - title = '🫶 Contributor PR from switchboard-sdk', + title = '[🫶 Contributor PR from switchboard-sdk] ${GITHUB_PR_TITLE}', body = ''' -Copied from switchboard-xyz/switchboard-sdk/pull/PULL_REQUEST_NUMBER. +Copied from ${GITHUB_PR_URL}. Please don't reply to this PR as the actual contributor won't be able to view it. Instead, reply on the switchboard-sdk PR linked above. Changes made to that PR will be reflected in this branch. Once you merge this PR into sbv3 the changes will be automatically copied over to switchboard-sdk. Don't forget to close the original PR afterwards! + +Original body follows: +--- +${GITHUB_PR_BODY} ''' ), origin_files = glob([