From 8fb48ff45bb1f4cc42140f2eee8c1e0bd05e2995 Mon Sep 17 00:00:00 2001 From: Omar Alshaker Date: Tue, 23 Jul 2024 18:31:26 +0200 Subject: [PATCH] Tune it --- .github/workflows/is-calypso-channel-green.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/is-calypso-channel-green.yml b/.github/workflows/is-calypso-channel-green.yml index d878795d555cc..3b2dc0b5490d6 100644 --- a/.github/workflows/is-calypso-channel-green.yml +++ b/.github/workflows/is-calypso-channel-green.yml @@ -6,7 +6,8 @@ jobs: runs-on: ubuntu-latest steps: - run: - STATUS=$(curl -s https://public-api.wordpress.com/rest/v1.1/internal/calypso-slack-channel) + STATUS=$(curl -s https://public-api.wordpress.com/rest/v1.1/internal/calypso-slack-channel --header "Authorization: ${{ secrets.CALYPSO_CHANNEL_STATUS_API_SECRET }}") + echo $STATUS if [ "$STATUS" = "GREEN" ]; then echo "Calypso Slack channel is green." exit 0