diff --git a/.github/workflows/ci-cherry-pick.yml b/.github/workflows/ci-cherry-pick.yml index 52a4b0f9f6..0b45b2fefb 100644 --- a/.github/workflows/ci-cherry-pick.yml +++ b/.github/workflows/ci-cherry-pick.yml @@ -23,6 +23,7 @@ jobs: - name: Cherry-pick commit run: | set -x + git fetch --all RELEASE_BRANCH=$(git branch -r | grep 'origin/release/[0-9]\+\.[0-9]' | sed 's/.*release\///' | sort -V | tail -n1) echo "RELEASE_BRANCH=release/$RELEASE_BRANCH" >> $GITHUB_ENV BRANCH=pick/non-breaking-$(date +%s)