From ea09492c21fa21450d610a442cf96c73b9002b5d Mon Sep 17 00:00:00 2001 From: Jason Bosco Date: Mon, 18 Dec 2023 16:06:34 -0600 Subject: [PATCH] Use cache from target branch in PR if available --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5ad2d8c3..af855337 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -45,7 +45,7 @@ jobs: workflow_conclusion: "" if_no_artifact_found: warn skip_unpack: true - branch: ${{ github.head_ref || github.ref_name }} + branch: ${{ github.base_ref || github.head_ref || github.ref_name }} - name: Uncompress bazel cache run: |