Skip to content

Commit

Permalink
ci: update slack release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas2D committed Sep 6, 2024
1 parent 66cd4b1 commit 78879e2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,26 @@ jobs:
steps:
- name: Notify Slack on Releases
uses: slackapi/slack-github-action@v1.27.0
with:
payload: |
{
"text": "Release notes",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "# Release notes - ${{ github.event.release.tag_name }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "${{ github.event.release.body }}"
}
},
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit 78879e2

Please sign in to comment.