From 6da07b614926de97133df890c52c31ba346acfd3 Mon Sep 17 00:00:00 2001 From: MountainGod2 Date: Tue, 5 Nov 2024 14:25:13 -0700 Subject: [PATCH] refactor: Update cd.yml workflow to use the latest GitHub Actions syntax --- .github/workflows/cd.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 8079639a..22f3ace6 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -22,10 +22,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - ref: ${{ github.sha }} - - - name: Setup | Force Correct Release Branch - run: git checkout -B ${{ github.ref_name }} ${{ github.sha }} + ref: ${{ github.event.workflow_run.head_sha }} - name: Setup | Configure UV Environment uses: astral-sh/setup-uv@v3