Skip to content

Commit c08d69a

Browse files
committed
Try square braces.
1 parent 0097648 commit c08d69a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/slack-notifications.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,11 @@ jobs:
155155
run: |
156156
PAYLOAD="$( jq \
157157
-n \
158+
--arg workflow_name "${GITHUB_WORKFLOW}" \
158159
--arg ref_name "${CURRENT_BRANCH}" \
159160
--arg run_url "https://github.com/WordPress/wordpress-develop/actions/runs/${GITHUB_RUN_ID}/attempts/${GITHUB_RUN_ATTEMPT}" \
160161
--arg commit_message "${COMMIT_MSG}" \
161-
'{ref_name: $ref_name, run_url: $run_url, commit_message: $commit_message}'
162+
'[{workflow_name: $workflow_name, ref_name: $ref_name, run_url: $run_url, commit_message: $commit_message}]'
162163
)"
163164
echo "payload=$PAYLOAD" >> "$GITHUB_OUTPUT"
164165
env:

0 commit comments

Comments
 (0)