File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ jobs:
1616 "changelog": ${{ toJSON(github.event.release.body) }}
1717 }'
1818
19- # - name: Send Release Details to Slack
20- # uses: slackapi/slack-github-action@v1.23.0 # Or the latest version of this action
21- # with:
22- # payload: |
23- # {
24- # "version": "${{ github.event.release.tag_name }}",
25- #
26- # "release_url ": "${{ github.event.release.html_url }}",
27- # "releaseLink ": ${{ toJSON(github.event.release.body) }}
28- # }
19+ - name : Send Release Details to Slack
20+ uses : slackapi/slack-github-action@v1.23.0 # Or the latest version of this action
21+ with :
22+ payload : |
23+ {
24+ "version": "${{ github.event.release.tag_name }}",
25+
26+ "releaseLink ": "${{ github.event.release.html_url }}",
27+ "changelog ": ${{ toJSON(github.event.release.body) }}
28+ }
2929# {
3030# "release_name": "${{ github.event.release.name }}",
3131# "tag_name": "${{ github.event.release.tag_name }}",
3636# "repository_url": "${{ github.event.repository.html_url }}",
3737# "release_description": ${{ toJSON(github.event.release.body) }}
3838# }
39- # env:
40- # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # Use the secret for the webhook URL
39+ env :
40+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }} # Use the secret for the webhook URL
You can’t perform that action at this time.
0 commit comments