just use the PR head SHA

Co-authored-by: Kyle Harding <kyle@balena.io>
This commit is contained in:
Anton Belodedenko 2025-02-24 10:42:32 -08:00 committed by GitHub
parent c1133d1f16
commit 435e0dc961
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -76,7 +76,7 @@ jobs:
- uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
with:
persist-credentials: false
ref: ${{ github.event.pull_request.head.sha || github.event.head_commit.id || github.event.pull_request.head.ref }}
ref: ${{ github.event.pull_request.head.sha }}
# https://github.com/unfor19/install-aws-cli-action
- name: Setup awscli