From 133bf60c368b43e6db74e3295444d434a36944f7 Mon Sep 17 00:00:00 2001 From: Andrew Leith Date: Fri, 10 Jan 2025 09:13:28 -0400 Subject: [PATCH] fix: update json encoding in workflows --- .github/workflows/sanitize_production_sms_usage.yml | 2 +- .github/workflows/sanitize_staging_sms_usage.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sanitize_production_sms_usage.yml b/.github/workflows/sanitize_production_sms_usage.yml index 77c7f3664..2954984f7 100644 --- a/.github/workflows/sanitize_production_sms_usage.yml +++ b/.github/workflows/sanitize_production_sms_usage.yml @@ -37,5 +37,5 @@ jobs: - name: Notify Slack channel if this job failed if: ${{ failure() }} run: | - json="{'text':' Sanitize production SMS usage data failed in !'}" + json='{"text":" Sanitize production SMS usage data failed in !"}' curl -X POST -H 'Content-type: application/json' --data "$json" ${{ secrets.NOTIFY_DEV_SLACK_WEBHOOK }} diff --git a/.github/workflows/sanitize_staging_sms_usage.yml b/.github/workflows/sanitize_staging_sms_usage.yml index 2c4e19211..c3880c5b4 100644 --- a/.github/workflows/sanitize_staging_sms_usage.yml +++ b/.github/workflows/sanitize_staging_sms_usage.yml @@ -37,5 +37,5 @@ jobs: - name: Notify Slack channel if this job failed if: ${{ failure() }} run: | - json="{'text':' Sanitize staging SMS usage data failed in !'}" + json='{"text":" Sanitize staging SMS usage data failed in !"}' curl -X POST -H 'Content-type: application/json' --data "$json" ${{ secrets.NOTIFY_DEV_SLACK_WEBHOOK }}