From fd330435a87fd8a757ebba3d19b42a63a12a55c3 Mon Sep 17 00:00:00 2001 From: E Shattow Date: Sat, 2 May 2026 17:09:43 -0700 Subject: [PATCH] build: adjust actions checkout ref parameter on release Let's use github.ref "ref:" parameter on release and create a local branch name. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5201a518..ce21a8c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -135,7 +135,10 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4 with: fetch-depth: 0 - ref: ${{ github.head_ref || github.ref_name }} + ref: ${{ github.ref }} + + - name: Create local branch name + run: git switch -C ${{ github.head_ref || github.ref_name }} # Do a dry run of PSR - name: Test release