From e5f408c0e8153c13fa70347316d751d528c1af0a Mon Sep 17 00:00:00 2001 From: Pawel Rutka Date: Fri, 9 Jan 2026 15:20:21 +0100 Subject: [PATCH] Fix wrong checkout for test workflow --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ec8b6f1..ac79960 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,8 +28,11 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout repository + - name: Checkout repository (Handle all events) uses: actions/checkout@v4.2.2 + with: + ref: ${{ github.head_ref || github.event.pull_request.head.ref || github.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} - name: Setup Bazel with shared caching uses: bazel-contrib/setup-bazel@0.14.0