Make WordPress Core

Changeset 51679


Ignore:
Timestamp:
08/27/2021 05:34:29 PM (3 years ago)
Author:
desrosj
Message:

Build/Test Tools: Preserve text within backticks in Slack notifications.

Props SergeyBiryukov, johnbillion, earnjam.
See #52644.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/slack-notifications.yml

    r51647 r51679  
    6464        id: commit-message
    6565        run: |
    66           COMMIT_MESSAGE=$(cat <<'EOF' | awk 'NR==1' | sed 's/\"/\\"/g'
     66          COMMIT_MESSAGE=$(cat <<'EOF' | awk 'NR==1' | sed 's/`/\\`/g' | sed 's/\"/\\"/g'
    6767          ${{ github.event.workflow_run.head_commit.message }}
    6868          EOF
Note: See TracChangeset for help on using the changeset viewer.