Skip to content

Commit 30995aa

Browse files
chore(deps): update slackapi/slack-github-action action to v2 (#155)
* 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]>
1 parent 7102248 commit 30995aa

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,13 @@ jobs:
8585
${{ steps.release-notes.outputs.RELEASE_NOTES }}
8686
8787
- name: Send changelog to Slack
88-
uses: slackapi/slack-github-action@v1.27.0
88+
uses: slackapi/slack-github-action@v2.0.0
8989
with:
90-
# Channel `#alma_changelog`
91-
channel-id: 'CR9C57YM6'
92-
slack-message: ${{ steps.slack-markdown-release-notes.outputs.text }}
90+
method: chat.postMessage
91+
token: ${{ secrets.SLACK_RELEASE_CHANGELOG_BOT_TOKEN }}
9392
payload: |
94-
{
95-
"username": "${{ github.event.sender.login }}",
96-
"icon_url": "${{ github.event.sender.avatar_url }}"
97-
}
98-
env:
99-
SLACK_BOT_TOKEN: ${{ secrets.SLACK_RELEASE_CHANGELOG_BOT_TOKEN }}
93+
channel: CR9C57YM6 # alma_changelog
94+
text: ${{ steps.slack-markdown-release-notes.outputs.text }}
95+
username: "${{ github.event.sender.login }}"
96+
icon_url: "${{ github.event.sender.avatar_url }}"
10097

0 commit comments

Comments
 (0)