diff --git a/.github/workflows/update-header-pr.yml b/.github/workflows/update-header-pr.yml index dc63954..a0b942e 100644 --- a/.github/workflows/update-header-pr.yml +++ b/.github/workflows/update-header-pr.yml @@ -24,7 +24,8 @@ jobs: run: | git submodule update --init --recursive cd Vulkan-Headers - VK_HEADER_GIT_TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) + VK_HEADER_GIT_TAG=$(git describe --tags $(git rev-list --tags | grep 'v\d\.' | head -n1)) + echo "New revision of Vulkan-Headers: $VK_HEADER_GIT_TAG" git checkout $VK_HEADER_GIT_TAG echo "VK_HEADER_GIT_TAG=$VK_HEADER_GIT_TAG" >> $GITHUB_ENV