From 77924efeec572b370aaad3511989e6efd23adfe2 Mon Sep 17 00:00:00 2001 From: mob-sakai Date: Mon, 8 Feb 2021 23:24:04 +0900 Subject: [PATCH] fix(test): checkout head --- .github/workflows/build-tests.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/build-tests.yml b/.github/workflows/build-tests.yml index a3f8cb28..5bced23f 100644 --- a/.github/workflows/build-tests.yml +++ b/.github/workflows/build-tests.yml @@ -38,18 +38,9 @@ jobs: ########################### # Checkout # ########################### - - name: Checkout (default) - uses: actions/checkout@v2 - if: github.event.event_type != 'pull_request_target' + - uses: actions/checkout@v2 with: lfs: true - - name: Checkout (pull_request_target) - uses: actions/checkout@v2 - if: github.event.event_type == 'pull_request_target' - with: - lfs: true - ref: ${{ github.event.pull_request.head.ref }} - repository: ${{ github.event.pull_request.head.repo.full_name }} ########################### # Cache #