Commit d146a30 1 parent 065a731 commit d146a30 Copy full SHA for d146a30
File tree 1 file changed +13
-21
lines changed
1 file changed +13
-21
lines changed Original file line number Diff line number Diff line change @@ -88,28 +88,20 @@ jobs:
88
88
- name : Post to slack
89
89
uses : slackapi/slack-github-action@v2.0.0
90
90
with :
91
- channel-id : " product-releases"
91
+ method : chat.postMessage
92
+ token : ${{ secrets.SLACK_BOT_TOKEN }}
92
93
payload : |
93
- {
94
- "blocks": [
95
- {
96
- "type": "section",
97
- "text": {
98
- "type": "mrkdwn",
99
- "text": ${{ toJSON(github.event.release.html_url) }}
100
- }
101
- },
102
- {
103
- "type": "section",
104
- "text": {
105
- "type": "mrkdwn",
106
- "text": ${{ toJSON(format('>>> {0}', github.event.release.body)) }}
107
- }
108
- }
109
- ]
110
- }
111
- env :
112
- SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
94
+ channel: "product-releases"
95
+ text: ${{ github.event.release.html_url }}
96
+ blocks:
97
+ - type: "section"
98
+ text:
99
+ type: "mrkdwn"
100
+ text: ${{ toJSON(github.event.release.html_url) }}
101
+ - type: "section"
102
+ text:
103
+ type: "mrkdwn"
104
+ text: ${{ toJSON(format('>>> {0}', github.event.release.body)) }}
113
105
114
106
clean :
115
107
name : Delete package distributions artifacts
You can’t perform that action at this time.
0 commit comments