From 1dfc6680ee7287fdd276f7fd6fd9f4b3ea6cb0e6 Mon Sep 17 00:00:00 2001 From: Selim Ustel Date: Tue, 3 Mar 2026 15:28:37 +0100 Subject: [PATCH 1/2] fix: slack messages action migration --- .github/actions/slack-notification/action.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/actions/slack-notification/action.yml b/.github/actions/slack-notification/action.yml index dc7d4af7b..7f6bc6855 100644 --- a/.github/actions/slack-notification/action.yml +++ b/.github/actions/slack-notification/action.yml @@ -16,9 +16,10 @@ runs: using: "composite" steps: - name: Send Slack notification - uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2 + uses: slackapi/slack-github-action@v2.0.0 with: - channel-id: ${{ inputs.channel-id }} - slack-message: ${{ inputs.message }} - env: - SLACK_BOT_TOKEN: ${{ inputs.bot-token }} + method: chat.postMessage + token: ${{ inputs.bot-token }} + payload: | + channel: "${{ inputs.channel-id }}" + text: "${{ inputs.message }}" \ No newline at end of file From 3cfa98da50a2d3d11dc0974737b37e4af47adc30 Mon Sep 17 00:00:00 2001 From: Selim Ustel Date: Thu, 5 Mar 2026 12:13:00 +0300 Subject: [PATCH 2/2] fix: change to the hash --- .github/actions/slack-notification/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/slack-notification/action.yml b/.github/actions/slack-notification/action.yml index 7f6bc6855..1d65c656e 100644 --- a/.github/actions/slack-notification/action.yml +++ b/.github/actions/slack-notification/action.yml @@ -16,7 +16,7 @@ runs: using: "composite" steps: - name: Send Slack notification - uses: slackapi/slack-github-action@v2.0.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d #v2 with: method: chat.postMessage token: ${{ inputs.bot-token }}