fix(actions): fixed dispatch commit message (#2023)

This commit is contained in:
Nacho Rivera
2023-03-02 13:55:03 +01:00
committed by GitHub
parent da834c0935
commit cd8770a3e3

View File

@@ -101,7 +101,7 @@ jobs:
- name: Get latest commit info
if: github.event_name == 'push'
run: |
LATEST_COMMIT_HASH=$(echo ${{ github.event.head }} | cut -b -6)
LATEST_COMMIT_HASH=$(echo ${{ github.event.after }} | cut -b -6)
echo "LATEST_COMMIT_HASH=${LATEST_COMMIT_HASH}" >> $GITHUB_ENV
- name: Dispatch event for latest
if: github.event_name == 'push'