Skip to content

Commit

Permalink
fix: changelog action backtick in title (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
klmcadams committed Apr 2, 2024
1 parent 2f572de commit 5a02dd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc-changelog/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ runs:
- name: "Create and commit towncrier fragment"
env:
PR_BRANCH: ${{ github.event.pull_request.head.ref }}
PR_TITLE: "${{ github.event.pull_request.title }}"
PR_TITLE: '${{ github.event.pull_request.title }}'
PR_NUMBER: ${{ github.event.number }}
shell: bash
run: |
Expand All @@ -165,7 +165,7 @@ runs:
fragment="${{ env.PR_NUMBER }}.${{ env.PR_LABEL }}.md"
# Remove extra whitespace from PR title
clean_title=`echo ${{ env.PR_TITLE }} | xargs`
clean_title=$(echo '${{ env.PR_TITLE }}' | xargs)
# Create changelog fragment with towncrier
# Fragment file contains the title of the PR
Expand Down

0 comments on commit 5a02dd3

Please sign in to comment.