From a62a9e5785a476439dc65bd42cc15fa7bf404571 Mon Sep 17 00:00:00 2001 From: kentsanggds Date: Tue, 16 Jan 2024 15:13:47 +0000 Subject: [PATCH] Fix create-pr-on-tags.yaml --- .github/workflows/create-pr-on-tags.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-pr-on-tags.yaml b/.github/workflows/create-pr-on-tags.yaml index 22428f75..2349d5f1 100644 --- a/.github/workflows/create-pr-on-tags.yaml +++ b/.github/workflows/create-pr-on-tags.yaml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set GH_REF - run: echo "GH_REF=`echo $(git fetch -t -q | sort --version-sort | tail -n1)`" >> $GITHUB_ENV + run: echo "GH_REF=`echo $(git fetch -t -q && git describe --tags)`" >> $GITHUB_ENV - run: bash ./docker/create-pr.sh env: GH_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}