1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

Update .github/workflows/merged.yaml

Escape any double quotes in the Title that may come in
This commit is contained in:
Alexis
2023-03-03 11:06:27 -08:00
committed by GitHub
parent bd3e3d1af1
commit 077cfb7861

View File

@@ -19,7 +19,7 @@ jobs:
USER: ${{ github.actor }}
TITLE: ${{ github.event.pull_request.title }}
run: |
echo "{\"text\":\"[$REPO] | [$TITLE #$NUMBER]($PR_URL) was merged into master by $USER.\"}" > mattermost.json
echo "{\"text\":\"[$REPO] | [${TITLE//\"/\\\"} #$NUMBER]($PR_URL) was merged into master by $USER.\"}" > mattermost.json
- uses: mattermost/action-mattermost-notify@master
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_MERGE_WEBHOOK }}