mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Build/Test Tools: Preserve text within backticks in Slack notifications.
Props SergeyBiryukov, johnbillion, earnjam. See #52644. git-svn-id: https://develop.svn.wordpress.org/trunk@51679 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ef41195ee3
commit
52fe9ffbd5
2
.github/workflows/slack-notifications.yml
vendored
2
.github/workflows/slack-notifications.yml
vendored
@ -63,7 +63,7 @@ jobs:
|
||||
- name: Prepare commit message.
|
||||
id: commit-message
|
||||
run: |
|
||||
COMMIT_MESSAGE=$(cat <<'EOF' | awk 'NR==1' | sed 's/\"/\\"/g'
|
||||
COMMIT_MESSAGE=$(cat <<'EOF' | awk 'NR==1' | sed 's/`/\\`/g' | sed 's/\"/\\"/g'
|
||||
${{ github.event.workflow_run.head_commit.message }}
|
||||
EOF
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user