Skip to content

Commit

Permalink
Fix pushing from non-default branch
Browse files Browse the repository at this point in the history
Fix bug #10
  • Loading branch information
TobKed committed Feb 16, 2022
1 parent d7b219a commit 9fd9843
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ target_repo="https://${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@github.com/${TARGET_R

git clone "${upstream_repo}"
cd "${upstream_dir}"
git checkout "${INPUT_TARGET_BRANCH}"
git push $_FORCE_OPTION --follow-tags $_TAGS "${target_repo}" "${INPUT_UPSTREAM_BRANCH}:${INPUT_TARGET_BRANCH}"

0 comments on commit 9fd9843

Please sign in to comment.