From bf6c13dd368d59c9ebb68d2f8b5b61a1e831d3f6 Mon Sep 17 00:00:00 2001 From: Maciej Barelkowski Date: Mon, 18 Nov 2024 11:11:09 +0100 Subject: [PATCH] ci: migrate to slack action v2 Related to https://github.com/bpmn-io/internal-docs/issues/1094 --- .github/workflows/MERGE_MAIN_TO_DEVELOP.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/MERGE_MAIN_TO_DEVELOP.yml b/.github/workflows/MERGE_MAIN_TO_DEVELOP.yml index a67bb972..70436764 100644 --- a/.github/workflows/MERGE_MAIN_TO_DEVELOP.yml +++ b/.github/workflows/MERGE_MAIN_TO_DEVELOP.yml @@ -25,9 +25,10 @@ jobs: - name: Notify failure on Slack if: failure() - uses: slackapi/slack-github-action@v2.0.0 + uses: slackapi/slack-github-action@v2 with: - channel-id: ${{ secrets.SLACK_CHANNEL_ID }} - slack-message: "Automatic merge of to failed." - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} + method: chat.postMessage + token: ${{ secrets.SLACK_BOT_TOKEN }} + payload: | + channel: ${{ secrets.SLACK_CHANNEL_ID }} + text: "Automatic merge of to failed."