diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index b4f985ffa..16c75f1c0 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -132,9 +132,9 @@ jobs: - uses: actions/checkout@v4 - name: Check PR title env: - PR_TITLE: ${{ github.event.pull_request_title }} + PR_TITLE: ${{ github.event.pull_request.title }} run: | - echo ${{ github.event.pull_request_title }} + echo ${{ github.event.pull_request.title }} echo "PR title = $PR_TITLE" if ! echo $PR_TITLE | grep -Eq '^(\w+)(\(.+\))?: .+$'; then echo "PR title does not follow conventional commit style."