From 30995aad7c43984485628393a3c2880c9eaf05c6 Mon Sep 17 00:00:00 2001 From: "alma-renovate-bot[bot]" <163289924+alma-renovate-bot[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:40:27 +0100 Subject: [PATCH] chore(deps): update slackapi/slack-github-action action to v2 (#155) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update slackapi/slack-github-action action to v2 * Adress breaking changes --------- Co-authored-by: alma-renovate-bot[bot] <163289924+alma-renovate-bot[bot]@users.noreply.github.com> Co-authored-by: RĂ©mi Zuffinetti --- .github/workflows/release.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05dac50..54160be 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,16 +85,13 @@ jobs: ${{ steps.release-notes.outputs.RELEASE_NOTES }} - name: Send changelog to Slack - uses: slackapi/slack-github-action@v1.27.0 + uses: slackapi/slack-github-action@v2.0.0 with: - # Channel `#alma_changelog` - channel-id: 'CR9C57YM6' - slack-message: ${{ steps.slack-markdown-release-notes.outputs.text }} + method: chat.postMessage + token: ${{ secrets.SLACK_RELEASE_CHANGELOG_BOT_TOKEN }} payload: | - { - "username": "${{ github.event.sender.login }}", - "icon_url": "${{ github.event.sender.avatar_url }}" - } - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_RELEASE_CHANGELOG_BOT_TOKEN }} + channel: CR9C57YM6 # alma_changelog + text: ${{ steps.slack-markdown-release-notes.outputs.text }} + username: "${{ github.event.sender.login }}" + icon_url: "${{ github.event.sender.avatar_url }}"