fix(test): checkout head

pull/214/head
mob-sakai 2021-02-08 23:24:04 +09:00
parent 70dbe529a1
commit 77924efeec
1 changed files with 1 additions and 10 deletions

View File

@ -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 #