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."