ci: fix, in github actions CI, we don't actually check out the PR, but the base

This commit is contained in:
pasta 2024-09-05 22:37:06 -05:00
parent 8c106bb9ce
commit fb92a8ef7b
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984

View File

@ -22,6 +22,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Prepare
id: prepare
@ -84,6 +87,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Cache dependencies
uses: actions/cache@v4
@ -132,6 +138,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Restore Cache dependencies
uses: actions/cache/restore@v4
@ -190,6 +199,8 @@ jobs:
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# with:
# ref: ${{ github.event.pull_request.head.sha }}
#
# - name: Download build artifacts
# uses: actions/download-artifact@v4