fix(test): checkout head
parent
423e01c774
commit
f5da983aef
|
@ -40,18 +40,10 @@ jobs:
|
||||||
###########################
|
###########################
|
||||||
# Checkout #
|
# Checkout #
|
||||||
###########################
|
###########################
|
||||||
- name: Checkout (default)
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
if: github.event.event_type != 'pull_request_target'
|
|
||||||
with:
|
with:
|
||||||
lfs: true
|
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 #
|
# Cache #
|
||||||
|
@ -90,18 +82,9 @@ jobs:
|
||||||
###########################
|
###########################
|
||||||
# Checkout #
|
# Checkout #
|
||||||
###########################
|
###########################
|
||||||
- name: Checkout (default)
|
- uses: actions/checkout@v2
|
||||||
uses: actions/checkout@v2
|
|
||||||
if: github.event.event_type != 'pull_request_target'
|
|
||||||
with:
|
with:
|
||||||
lfs: true
|
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 #
|
# Cache #
|
||||||
|
@ -146,18 +129,9 @@ jobs:
|
||||||
###########################
|
###########################
|
||||||
# Checkout #
|
# Checkout #
|
||||||
###########################
|
###########################
|
||||||
- name: Checkout (default)
|
- uses: actions/checkout@v2
|
||||||
uses: actions/checkout@v2
|
|
||||||
if: github.event.event_type != 'pull_request_target'
|
|
||||||
with:
|
with:
|
||||||
lfs: true
|
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 #
|
# Cache #
|
||||||
|
@ -202,18 +176,9 @@ jobs:
|
||||||
###########################
|
###########################
|
||||||
# Checkout #
|
# Checkout #
|
||||||
###########################
|
###########################
|
||||||
- name: Checkout (default)
|
- uses: actions/checkout@v2
|
||||||
uses: actions/checkout@v2
|
|
||||||
if: github.event.event_type != 'pull_request_target'
|
|
||||||
with:
|
with:
|
||||||
lfs: true
|
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 #
|
# Cache #
|
||||||
|
@ -258,18 +223,9 @@ jobs:
|
||||||
###########################
|
###########################
|
||||||
# Checkout #
|
# Checkout #
|
||||||
###########################
|
###########################
|
||||||
- name: Checkout (default)
|
- uses: actions/checkout@v2
|
||||||
uses: actions/checkout@v2
|
|
||||||
if: github.event.event_type != 'pull_request_target'
|
|
||||||
with:
|
with:
|
||||||
lfs: true
|
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 #
|
# Cache #
|
||||||
|
|
Loading…
Reference in New Issue