diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 68cc3955..43c0355a 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -25,8 +25,7 @@ jobs: - name: Get release info run: | - message='${{ github.event.workflow_run.head_commit.message }}' - echo $message + message=$(git log --format=%B -n 1 HEAD~2) if [[ $message = *'plasmax-core@'* ]]; then echo 'Found!' fi