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