diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index adfc6830..f78aff48 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -24,4 +24,6 @@ jobs: run: npm install --save-dev @commitlint/{config-conventional,cli} - name: Lint PR title - run: echo "${{ github.event.pull_request.title }}" | npx commitlint \ No newline at end of file + env: + TITLE: ${{ github.event.pull_request.title }} + run: echo "$TITLE" | npx commitlint