From b348b094821ea15e27af361c20885a4252b293ff Mon Sep 17 00:00:00 2001 From: Jacob Mitchell Date: Thu, 9 May 2024 15:30:24 -0400 Subject: [PATCH] checkout source branch --- .github/copy_to_branch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/copy_to_branch.sh b/.github/copy_to_branch.sh index 068e528..d0c6d4a 100755 --- a/.github/copy_to_branch.sh +++ b/.github/copy_to_branch.sh @@ -20,7 +20,7 @@ git config --global user.email 'action@github.com' # Fetch branches git fetch # Checkout target branch -git checkout $TARGET_BRANCH +git checkout $SRC_BRANCH # copy files from the branch the action is being run upon for F in ${FILES}; do git checkout $SRC_BRANCH -- ${F}