Skip to content

Commit

Permalink
Keep sha length consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
amishas157 committed Aug 20, 2024
1 parent 66a6ff5 commit 7d2d498
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 @@ -22,7 +22,7 @@ jobs:

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

0 comments on commit 7d2d498

Please sign in to comment.