diff --git a/.github/workflows/trigger_new_rss.yml b/.github/workflows/trigger_new_rss.yml index 794c407..6ebb241 100644 --- a/.github/workflows/trigger_new_rss.yml +++ b/.github/workflows/trigger_new_rss.yml @@ -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