@ -16,7 +16,7 @@ jobs:
- run: git clone ${{ github.server_url }}/${{ github.repository }}
- name: latest commit message
run: |
echo LATEST_MESSAGE=$(git log --no-merges -n -1 --pretty=%s) >> $GITHUB_ENV
echo LATEST_MESSAGE=$(git log --no-merges -n 1 --pretty=%s) >> $GITHUB_ENV
working-directory: ${{ github.event.repository.name }}
- name: check commit message
run: echo $LATEST_MESSAGE