From bcffcc9d5d85719b0fc5ae417a8f7e64f4510cd3 Mon Sep 17 00:00:00 2001 From: Miguel Ruiz Date: Thu, 16 Jan 2025 11:45:51 +0100 Subject: [PATCH] [actions] Skip output in Gchat notification Signed-off-by: Miguel Ruiz --- .github/workflows/gchat-notification.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gchat-notification.yml b/.github/workflows/gchat-notification.yml index 22b2681832927d..3f06251b74807e 100644 --- a/.github/workflows/gchat-notification.yml +++ b/.github/workflows/gchat-notification.yml @@ -39,4 +39,4 @@ jobs: # Use curl to send the JSON to Google. escapedText=$(sed -e 's/\n/\\n/g' -e 's/"/\\"/g' -e "s/'/\\'/g" "${tmp_file}") json="{\"text\": \"$escapedText\"}" - curl -X POST -H 'Content-Type: application/json' -d "$json" "${GCHAT_WEBHOOK_URL}" + curl -o /tmp/out -s --fail -X POST -H 'Content-Type: application/json' -d "$json" "${GCHAT_WEBHOOK_URL}"