From ccbdcb051d86b8dad9e954334d4b7e2a96efc02d Mon Sep 17 00:00:00 2001 From: smanhoff Date: Wed, 17 Jul 2024 14:49:35 +0200 Subject: [PATCH] Test IDP workflow --- .github/workflows/slack-port-notify-unhealthy-service.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/slack-port-notify-unhealthy-service.yml b/.github/workflows/slack-port-notify-unhealthy-service.yml index e951696..a04b62b 100644 --- a/.github/workflows/slack-port-notify-unhealthy-service.yml +++ b/.github/workflows/slack-port-notify-unhealthy-service.yml @@ -1,4 +1,4 @@ -name: TEST - IDP notify when service becomes unhealthy +name: Notify when service becomes unhealthy on: workflow_dispatch: @@ -15,6 +15,6 @@ jobs: steps: - name: Send message to Slack env: - SLACK_WEBHOOK_URL: https://hooks.slack.com/services/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 + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} run: | curl -X POST -H 'Content-type: application/json' --data '{"text":"The service ${{ inputs.service_name }} has become unhealthy."}' $SLACK_WEBHOOK_URL