From 99b0f967903a9df52c7ae725751395eae671674a Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 3 May 2024 10:46:23 +0200 Subject: [PATCH] ci: fix pr title check --- .github/workflows/pull_request_title.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request_title.yml b/.github/workflows/pull_request_title.yml index fb7b5aefe..86924fb76 100644 --- a/.github/workflows/pull_request_title.yml +++ b/.github/workflows/pull_request_title.yml @@ -17,4 +17,8 @@ jobs: check-latest: true cache: 'pnpm' - run: pnpm install - - run: echo '${{ github.event.pull_request.title }}' | pnpm commitlint + - name: Check PR title + env: + TITLE: ${{ github.event.pull_request.title }} + run: echo "$TITLE" | pnpm commitlint +