From 27e5adb79fa97bab2ac1ecf3d9d339a5a9cf3270 Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Mon, 9 Oct 2023 14:02:11 +0100 Subject: [PATCH] Checkout correct ref in integration tests --- .github/workflows/integration.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 35ac59a0..38790846 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -54,6 +54,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: Install dependencies run: npm ci