Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pshriwise authored Oct 11, 2024
1 parent 3efdb32 commit 5854004
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ jobs:
- name: Set commit message env var
run: |
COMMIT_MESSAGE=$(git log HEAD -1 --pretty=%B)
# get the sha of the last branch commit
sha=$(git rev-list --parents -n 1 HEAD | cut -d" " -f 3)
COMMIT_MESSAGE=$(git log $sha -1 --pretty=%B)
echo ${COMMIT_MESSAGE}
echo "COMMIT_MESSAGE=${COMMIT_MESSAGE}" >> $GITHUB_ENV
Expand Down

0 comments on commit 5854004

Please sign in to comment.