Skip to content

Commit

Permalink
Merge pull request #1627 from ResearchHub/git-hash-7-chars
Browse files Browse the repository at this point in the history
Use 7 characters for shortened Git SHA
  • Loading branch information
gzurowski committed Jun 12, 2024
2 parents e75c95e + c672dec commit 6053e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

- name: Set short Git SHA
run: |
SHORT_GIT_SHA=$(git rev-parse HEAD | cut -c1-8)
SHORT_GIT_SHA=$(git rev-parse HEAD | cut -c1-7)
echo "SHORT_GIT_SHA=$SHORT_GIT_SHA" >> "$GITHUB_ENV"
echo "Git SHA: ${SHORT_GIT_SHA}"
Expand Down

0 comments on commit 6053e85

Please sign in to comment.