diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c2b9de..dab5d9b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}