From cf3f434f362ca6db5d0666f89419705b4cbc6c5f Mon Sep 17 00:00:00 2001 From: v-chen_data Date: Sun, 20 Oct 2024 00:52:34 -0700 Subject: [PATCH] ref_name --- .github/workflows/docker.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index f77ec4e686..0251778529 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -30,7 +30,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - ref: ${{ github.ref_name }} + ref: ${{ github.head_ref || github.ref_name }} - name: Setup QEMU uses: docker/setup-qemu-action@v2