From 3b077e5f94cbd372d04186db7116ceebc2194df0 Mon Sep 17 00:00:00 2001 From: Maciej Barelkowski Date: Mon, 18 Nov 2024 11:12:32 +0100 Subject: [PATCH] ci: migrate to slack action v2 Related to https://github.com/bpmn-io/internal-docs/issues/1094 --- .github/workflows/MERGE_MASTER_TO_DEVELOP.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/MERGE_MASTER_TO_DEVELOP.yml b/.github/workflows/MERGE_MASTER_TO_DEVELOP.yml index ea05dfcec..525f426ec 100644 --- a/.github/workflows/MERGE_MASTER_TO_DEVELOP.yml +++ b/.github/workflows/MERGE_MASTER_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."