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

The outer `”` marks are not required and produce invalid JSON.

See #52644.

git-svn-id: https://develop.svn.wordpress.org/trunk@51536 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2021-08-03 15:07:34 +00:00
parent ce0396ba76
commit 37407018d2
+1 -1
View File
@@ -58,7 +58,7 @@ jobs:
- name: Construct payload and store as an output
id: create-payload
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 }}\"}\""
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 }}\"}"
# Posts notifications when a workflow fails.
failure: