From a696105505ccf8880bc3b11510e8dacd021a68d6 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 20 Feb 2024 09:29:11 +0100 Subject: [PATCH] checkout the given ref to validate whether it exists and the version is correct --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1a90927..c39a904 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,6 +40,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: + ref: ${{ inputs.ref }} fetch-depth: 0 - name: Validate tag does not exist on current commit uses: ./.github/workflows/validate-tag