From 7f98626d83192f47e9551ea37a8a5bcd08c58754 Mon Sep 17 00:00:00 2001 From: Hector Castejon Diaz Date: Thu, 18 Jul 2024 09:47:24 +0200 Subject: [PATCH] [Internal] Fix processing of `quoted` titles --- .github/workflows/message.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/message.yml b/.github/workflows/message.yml index 0c0c09a39..057556895 100644 --- a/.github/workflows/message.yml +++ b/.github/workflows/message.yml @@ -20,8 +20,10 @@ jobs: fetch-depth: 0 - name: Validate Tag + env: + TITLE: ${{ github.event.pull_request.title }} run: | - TAG=$(echo ${{ github.event.pull_request.title }} | sed -ne 's/\[\(.*\)\].*/\1/p') + TAG=$(echo "$TITLE" | sed -ne 's/\[\(.*\)\].*/\1/p') if grep -q "tag: \"\[$TAG\]\"" .codegen/changelog_config.yml; then echo "Valid tag found: [$TAG]" else