fix: push to correct branch

This commit is contained in:
Michael Sasser 2024-11-24 10:56:16 +01:00
parent 22424960b6
commit 7c8b67bcb6
Signed by: michael
GPG key ID: 5F653AC7631F5151

View file

@ -50,4 +50,4 @@ runs:
git remote add upstream ${{ inputs.upstream_repo_url }} git remote add upstream ${{ inputs.upstream_repo_url }}
git fetch --no-tags upstream 'refs/heads/${{ inputs.upstream_repo_branch }}' git fetch --no-tags upstream 'refs/heads/${{ inputs.upstream_repo_branch }}'
git reset --hard 'upstream/${{ inputs.upstream_repo_branch }}' git reset --hard 'upstream/${{ inputs.upstream_repo_branch }}'
git push --set-upstream origin upstream --force git push --set-upstream origin ${{ inputs.downstream_repo_branch }} --force