Make WordPress Core

Changeset 51536


Ignore:
Timestamp:
08/03/2021 03:07:34 PM (3 years ago)
Author:
desrosj
Message:

Build/Test Tools: Correct invalid JSON in Slack payload.

The outer marks are not required and produce invalid JSON.

See #52644.

File:
1 edited

Legend:

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

    r51535 r51536  
    5959      - name: Construct payload and store as an output
    6060        id: create-payload
    61         run: echo "::set-output name=payload::\"{\"workflow_name\":\"${{ github.event.workflow_run.name }}\",\"ref_name\":\"${{ github.event.workflow_run.head_branch }}\",\"run_url\":\"${{ github.event.workflow_run.html_url }}\"}\""
     61        run: echo "::set-output name=payload::{\"workflow_name\":\"${{ github.event.workflow_run.name }}\",\"ref_name\":\"${{ github.event.workflow_run.head_branch }}\",\"run_url\":\"${{ github.event.workflow_run.html_url }}\"}"
    6262
    6363  # Posts notifications when a workflow fails.
Note: See TracChangeset for help on using the changeset viewer.