This commit is contained in:
Yuta Katayama 2023-05-25 09:58:51 +09:00
parent d6e6ee5550
commit 7e791c01d0
No known key found for this signature in database
GPG Key ID: E50AA6AA7A7BD4CA

View File

@ -17,6 +17,7 @@ jobs:
- name: latest commit message
run: |
echo LATEST_MESSAGE=$(git log --no-merges -n -1 --pretty=%s) >> $GITHUB_ENV
working-directory: ${{ github.repository }}
- name: check commit message
run: echo $LATEST_MESSAGE
- run: |
@ -24,3 +25,4 @@ jobs:
env:
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
if: env.LATEST_MESSAGE == 'Add'
working-directory: ${{ github.repository }}