Skip to content

Commit

Permalink
support single quotes in PR titles
Browse files Browse the repository at this point in the history
  • Loading branch information
danphilibin committed Sep 24, 2024
1 parent 3a15a9f commit f3dccd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/github-pr-alerts-workflow/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
ACTION="merged"
fi
ESCAPED_TITLE=$(echo '${{ github.event.pull_request.title }}' | jq -rRs '.')
ESCAPED_TITLE=$(echo "${{ github.event.pull_request.title }}" | jq -Rr @json)
CONTENT="${STATUS_EMOJI} Pull request ${ACTION} by ${{ github.event.pull_request.user.login }}: [#${{ github.event.pull_request.number }} ${ESCAPED_TITLE}](${{ github.event.pull_request.html_url }})"
Expand Down

0 comments on commit f3dccd8

Please sign in to comment.