escape newlines in commit message (#4449)

* test description
This commit is contained in:
Cenk Kücük 2024-08-17 01:15:06 +02:00 committed by GitHub
parent 7f175a86e3
commit 3b485afc91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,4 +76,5 @@ jobs:
url: ${{ secrets.BUILD_NOTIFICATION_URL }}
method: 'POST'
customHeaders: '{"Content-Type": "application/json"}'
escapeData: 'true'
data: '{"content": "<h1>🚀 New changes are about to be deployed to production!</h1><br/><h3>👷 Author: ${{ github.actor }}</h3><br/><p>📝 Commit message: ${{ github.event.head_commit.message }}</p><br/>"}'