From 65e081397a9451532081435b8de5e09f93c84c41 Mon Sep 17 00:00:00 2001 From: Maksym Arutyunyan Date: Tue, 19 Aug 2025 13:45:05 +0200 Subject: [PATCH] ci: fix slackapi v2.1.1 --- .github/workflows/ci-notify-slack.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-notify-slack.yml b/.github/workflows/ci-notify-slack.yml index 6746111c..d4406359 100644 --- a/.github/workflows/ci-notify-slack.yml +++ b/.github/workflows/ci-notify-slack.yml @@ -24,9 +24,10 @@ jobs: echo "safe_title=$ESCAPED_TITLE" >> "$GITHUB_OUTPUT" - name: Post to a Slack channel - uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0 + uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 with: - channel-id: eng-execution-mrs - slack-message: ":github: `${{ github.repository }}` <${{ github.event.pull_request.html_url }}|${{ steps.sanitize.outputs.safe_title }}>" - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_API_TOKEN }} + method: chat.postMessage + token: ${{ secrets.SLACK_API_TOKEN }} + payload: | + channel: eng-execution-mrs + text: ":github: `${{ github.repository }}` <${{ github.event.pull_request.html_url }}|${{ steps.sanitize.outputs.safe_title }}>"