checkout PR ref

This commit is contained in:
aptalca 2023-04-11 11:58:50 -04:00
parent 55c97fae39
commit a2af433853
No known key found for this signature in database
GPG Key ID: BE36CFFB9FD85548

View File

@ -32,7 +32,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Out Repo (Commit)
uses: actions/checkout@v3
if: ${{ github.event_name != 'pull_request_target' }}
- name: Check Out Repo (PR)
uses: actions/checkout@v3
if: ${{ github.event_name == 'pull_request_target' }}
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Dump payload
env: