From da678b9ed8e70e8345eca257eac8e2bf89fd6ef2 Mon Sep 17 00:00:00 2001 From: Marian Date: Thu, 25 Apr 2024 19:17:17 +0100 Subject: [PATCH] Remove $. --- .github/workflows/python-app.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 56bb1e2..acb6816 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -80,9 +80,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - PR_TITLE="${{ github.event.pull_request }}" + PR_TITLE="${{ github.event.pull_request.title }}" VERSION_PATTERN="^Bump version: [0-9]+\.[0-9]+\.[0-9]+ → [0-9]+\.[0-9]+\.[0-9]+$" - echo "PR_TITLE: $$PR_TITLE" + echo "PR_TITLE: $PR_TITLE" echo "GITHUB_EVENT_PATH: $GITHUB_EVENT_PATH" if [[ "$PR_TITLE" =~ $VERSION_PATTERN ]]; then echo "Valid PR title for publishing."