Skip to content

Commit

Permalink
[Internal] Fix processing of quoted titles (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorcast-db authored Jul 18, 2024
1 parent eace94d commit f5c5f48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5c5f48

Please sign in to comment.