diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml index a85138183..dd9806226 100644 --- a/.github/workflows/renovate.yaml +++ b/.github/workflows/renovate.yaml @@ -48,7 +48,7 @@ jobs: CHANGELOG_APPEND: ${{ contains(steps.pr.outputs.labels, 'changelog-append') }} run: | set -eux - export DESCRIPTION="$(sed 's/^:.*: //' <<<"$TITLE")" + export DESCRIPTION="$(perl -pe 's/^.+?: (.)/\U$1/' <<<"$TITLE")" CHANGELOG="$(yq -o json '[{"kind": "changed", "description": strenv(DESCRIPTION)}]')" UPDATE_TYPE=replace if [[ "$CHANGELOG_APPEND" == "true" ]]; then