Skip to content

Commit

Permalink
specify master and destination branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jmitchell81 committed May 9, 2024
1 parent 04cfaf6 commit 6a3f778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/copy_to_branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ git fetch
# Checkout target branch
git checkout $TARGET_BRANCH
# copy files from the branch the action is being run upon
SRC_BRANCH=$(git symbolic-ref --short HEAD)
for F in ${FILES}; do
git checkout $SRC_BRANCH -- ${F}
done
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/bioc_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- uses: actions/checkout@v2
- name: copy
env:
TARGET_BRANCH: 'master'
SRC_BRANCH: 'master'
TARGET_BRANCH: 'bioconductor'
run: .github/copy_to_branch.sh
shell: bash

0 comments on commit 6a3f778

Please sign in to comment.