We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b6806 commit e8672f2Copy full SHA for e8672f2
.github/workflows/build.yml
@@ -48,7 +48,7 @@ jobs:
48
with:
49
ref: ${{ env.HEAD_COMMIT }}
50
- name: Get commit message
51
- run: echo "COMMIT_MESSAGE=$(git log -n 1 --pretty=format:%s $GITHUB_HEAD_REF)" >> $GITHUB_ENV
+ run: echo "COMMIT_MESSAGE=$(git log -n 1 --pretty=format:%s $(git rev-parse $GITHUB_HEAD_REF))" >> $GITHUB_ENV
52
- name: "BRANCH: ${{ github.ref_name }}"
53
run: echo ""
54
- name: "COMMIT: ${{ env.COMMIT_MESSAGE }}"
0 commit comments