From b6ce47b310e54876b79b351f191bddcfa935bde6 Mon Sep 17 00:00:00 2001 From: "alma-renovate-bot[bot]" <163289924+alma-renovate-bot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 10:31:52 +0000 Subject: [PATCH 1/2] chore(deps): update slackapi/slack-github-action action to v2 --- .github/workflows/release-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index cfe63f2..2162a0d 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -97,7 +97,7 @@ jobs: cc <@france.berut> <@khadija.cherif> - name: Send changelog to Slack - uses: slackapi/slack-github-action@v1.27.0 + uses: slackapi/slack-github-action@v2.0.0 with: channel-id: CR9C57YM6 slack-message: ${{ steps.slack-markdown-release-notes.outputs.text }} From 11d12cc361f28ab2f943e62b1fcc61a03fbff643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Zuffinetti?= Date: Tue, 26 Nov 2024 12:24:56 +0100 Subject: [PATCH 2/2] Handlie breaking changes --- .github/workflows/release-publish.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 2162a0d..5784a3a 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -99,12 +99,10 @@ jobs: - name: Send changelog to Slack uses: slackapi/slack-github-action@v2.0.0 with: - 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 + username: "${{ github.event.sender.login }}" + icon_url: "${{ github.event.sender.avatar_url }}" + text: ${{ toJson(steps.slack-markdown-release-notes.outputs.text) }}