From 19762a2d7c1a71c7a56b15cbdf9e4328205b2ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uraz=20Akg=C3=BCltan?= Date: Wed, 9 Jul 2025 10:11:13 +0200 Subject: [PATCH] fix slack notification action --- .github/actions/slack-notification/action.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/actions/slack-notification/action.yml b/.github/actions/slack-notification/action.yml index 54019b70..79d0de1e 100644 --- a/.github/actions/slack-notification/action.yml +++ b/.github/actions/slack-notification/action.yml @@ -18,7 +18,10 @@ runs: - name: Send Slack notification uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2 with: - channel-id: ${{ inputs.channel-id }} - slack-message: ${{ inputs.message }} - env: - SLACK_BOT_TOKEN: ${{ inputs.bot-token }} \ No newline at end of file + method: chat.postMessage + token: ${{ inputs.bot-token }} + payload: | + { + "channel": "${{ inputs.channel-id }}", + "text": "${{ inputs.message }}" + }