From 3f1580a5a689d10da030207b8ee1579ee6be03a8 Mon Sep 17 00:00:00 2001 From: Joshua Kummer Date: Mon, 6 Feb 2023 22:54:14 +0100 Subject: [PATCH] Update testbuild.yml --- .github/workflows/testbuild.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testbuild.yml b/.github/workflows/testbuild.yml index 761c91192..f781afd4c 100644 --- a/.github/workflows/testbuild.yml +++ b/.github/workflows/testbuild.yml @@ -13,7 +13,8 @@ jobs: - name: Checkout uses: actions/checkout@v2 with: - ref: ${{ github.head_ref }} + ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} fetch-depth: 0 - name: Prettify code @@ -31,6 +32,8 @@ jobs: - name: Checkout uses: actions/checkout@v2 with: + ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} fetch-depth: 0 - name: Setup Node