Skip to content

Commit

Permalink
Update ci.yml [gha-debug]
Browse files Browse the repository at this point in the history
  • Loading branch information
pshriwise authored Oct 11, 2024
1 parent a936dba commit e70ac2d
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 @@ -100,7 +100,7 @@ jobs:
- name: Set commit message env var
run: |
# get the sha of the last branch commit
BRANCH_SHA=$(git rev-list --parents -n 1 HEAD | cut -d" " -f 3)
BRANCH_SHA=$(git rev-list --parents -n 1 HEAD | rev | cut -d" " -f 1 | rev)
COMMIT_MESSAGE=$(git log $BRANCH_SHA -1 --pretty=%B)
echo ${COMMIT_MESSAGE}
echo "COMMIT_MESSAGE=${COMMIT_MESSAGE}" >> $GITHUB_ENV
Expand Down

0 comments on commit e70ac2d

Please sign in to comment.