Skip to content

Commit

Permalink
checkout source branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jmitchell81 committed May 9, 2024
1 parent 6a3f778 commit b348b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/copy_to_branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ git config --global user.email '[email protected]'
# 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}
Expand Down

0 comments on commit b348b09

Please sign in to comment.