diff --git a/.github/workflows/fork-sync.yml b/.github/workflows/fork-sync.yml index ce925302..aa1776bf 100644 --- a/.github/workflows/fork-sync.yml +++ b/.github/workflows/fork-sync.yml @@ -44,7 +44,7 @@ jobs: run: | for TAG in ${NEW_TAGS}; do - git checkout -b release/${TAG} ${TAG} + git checkout -b release/${TAG} upstream/${TAG} git rev-list --no-merges --reverse origin/feature/add_auth ^upstream | git cherry-pick --stdin git rev-list --no-merges --reverse origin/fork/automation ^upstream -- .github/**| git cherry-pick --stdin git tag -d ${TAG}