From 7c1a886664e660bb6d4eca104e07b1f4667c5520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sumire=20=28=E8=8F=AB=29?= <151038614+sumire88@users.noreply.github.com> Date: Fri, 27 Sep 2024 22:33:59 -0400 Subject: [PATCH] ci(workflows/{prerelease,release}): force checkout to specific tag (#660) --- .github/workflows/prerelease.yml | 1 + .github/workflows/release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 96e8883..bc0c923 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -52,6 +52,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + ref: ${{ inputs.tag }} - name: Get the version id: get_version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index caa5962..2edbe2d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,6 +52,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + ref: ${{ inputs.tag }} - name: Get the version id: get_version