gha: Add base branch on SHA on pull requst

The run-launchtimes-metrics workflow needs to get the commit ID
for the last commit to the head branch of the PR.

Fixes: #7116

Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
This commit is contained in:
David Esparza 2023-06-15 13:11:33 -06:00
parent 0f24f427d7
commit b16e0de734
No known key found for this signature in database
GPG Key ID: EABE0B1A98CC3B7A

View File

@ -8,6 +8,10 @@ jobs:
env:
GOPATH: ${{ github.workspace }}
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: run launch times on qemu
run: bash tests/metrics/gha-run.sh run-test-launchtimes-qemu