diff --git a/.github/workflows/pr_title.yml b/.github/workflows/pr_title.yml index dd7905d1b2..307b4e678a 100644 --- a/.github/workflows/pr_title.yml +++ b/.github/workflows/pr_title.yml @@ -17,4 +17,6 @@ jobs: echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js - name: lint run: | - echo "${{github.event.pull_request.title}}" | commitlint + echo "$PR_TITLE" | commitlint + env: + PR_TITLE: ${{github.event.pull_request.title}}