Skip to content

Commit

Permalink
chore(deps): update slackapi/slack-github-action action to v2 (#155)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
alma-renovate-bot[bot] and remi-zuffinetti authored Nov 22, 2024
1 parent 7102248 commit 30995aa
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit 30995aa

Please sign in to comment.