chore(CI): escape PR title for slack webhook (#65742)

This commit is contained in:
hrmny 2024-05-14 15:39:17 +02:00 committed by GitHub
parent 4d97acb27d
commit b5fb1c11d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ jobs:
# (through slightly hacky means).
payload: |
{
"commit_title": "${{ github.event.workflow_run.display_title }}",
"commit_title": ${{ toJSON(github.event.workflow_run.display_title) }},
"commit_url": "github.com/${{ github.repository }}/commit/${{ github.event.workflow_run.head_sha }}",
"workflow_run_url": "github.com/${{ github.repository }}/actions/runs/${{ github.event.workflow_run.id }}/attempts/${{ github.event.workflow_run.run_attempt }}"
}