Skip to content

Commit

Permalink
replace by head
Browse files Browse the repository at this point in the history
  • Loading branch information
amishas157 committed Aug 21, 2024
1 parent 9279688 commit a61a942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- name: Add SHORT_SHA env property with commit short sha
run: |
SHORT_SHA=$(git rev-parse --short=9 ${{ github.event.pull_request.head.sha }})
SHORT_SHA=$(git rev-parse --short=9 HEAD)
echo "SHORT_SHA=$SHORT_SHA" >> $GITHUB_ENV
echo "Short SHA: $SHORT_SHA"
Expand Down

0 comments on commit a61a942

Please sign in to comment.