From 592ba586a08da354f87dea69ca36b728cf96ab2c Mon Sep 17 00:00:00 2001 From: sangeet-joy_xero Date: Fri, 18 Oct 2024 12:34:14 +0530 Subject: [PATCH] added the webhook back --- .github/actions/notify-slack/action.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/actions/notify-slack/action.yml b/.github/actions/notify-slack/action.yml index 083d8368..95de774e 100644 --- a/.github/actions/notify-slack/action.yml +++ b/.github/actions/notify-slack/action.yml @@ -45,12 +45,13 @@ runs: id: slack uses: slackapi/slack-github-action@v1.27.0 env: - # SLACK_WEBHOOK_URL: ${{inputs.XERO_SLACK_WEBHOOK_URL}} - SLACK_BOT_TOKEN: ${{inputs.bot_token}} + SLACK_WEBHOOK_URL: ${{inputs.XERO_SLACK_WEBHOOK_URL}} + # SLACK_BOT_TOKEN: ${{inputs.bot_token}} with: - channel-id: ${{inputs.channel_id}} + # channel-id: ${{inputs.channel_id}} payload: | { + "text": "Publish has failed" "blocks": [ { "type": "section",