From c3cf1c61c183e639cd8bbe6636eafe75f762eb4f Mon Sep 17 00:00:00 2001 From: matt korwel Date: Fri, 22 Aug 2025 12:54:08 -0700 Subject: [PATCH] fix(release): fallback to github.sha when ref is not provided (#6862) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25a1ab37..be36f3bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,7 @@ jobs: - name: 'Checkout' uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' # ratchet:actions/checkout@v5 with: - ref: '${{ github.sha }}' + ref: '${{ github.event.inputs.ref || github.sha }}' fetch-depth: 0 - name: 'Set booleans for simplified logic'