@@ -52,7 +52,7 @@ Add this Action as a [step][job-step] to your project's GitHub Action Workflow f
52
52
``` yaml
53
53
- name : Send GitHub Action trigger data to Slack workflow
54
54
id : slack
55
- uses :
slackapi/[email protected] .0
55
+ uses :
slackapi/[email protected] .1
56
56
with :
57
57
payload-delimiter : " _"
58
58
env :
64
64
` ` ` yaml
65
65
- name : Send custom JSON data to Slack workflow
66
66
id : slack
67
- uses :
slackapi/[email protected] .0
67
+ uses :
slackapi/[email protected] .1
68
68
with :
69
69
# This data can be any valid JSON from a previous step in the GitHub Action
70
70
payload : |
83
83
` ` ` yaml
84
84
- name: Send custom JSON data to Slack workflow
85
85
id: slack
86
- uses: slackapi/[email protected] .0
86
+ uses: slackapi/[email protected] .1
87
87
with:
88
88
payload-file-path: "./payload-slack-content.json"
89
89
env:
97
97
` ` ` yaml
98
98
- name: Send custom JSON data to Slack workflow
99
99
id: slack
100
- uses: slackapi/[email protected] .0
100
+ uses: slackapi/[email protected] .1
101
101
with:
102
102
payload-file-path: "./payload-slack-content.json"
103
103
payload-file-path-parsed: false
@@ -124,7 +124,7 @@ Add this Action as a [step][job-step] to your project's GitHub Action Workflow f
124
124
` ` ` yaml
125
125
- name: Post to a Slack channel
126
126
id: slack
127
- uses: slackapi/[email protected] .0
127
+ uses: slackapi/[email protected] .1
128
128
with:
129
129
# Slack channel id, channel name, or user id to post message.
130
130
# See also: https://api.slack.com/methods/chat.postMessage#channels
@@ -141,7 +141,7 @@ Using JSON payload for constructing a message is also available:
141
141
` ` ` yaml
142
142
- name: Post to a Slack channel
143
143
id: slack
144
- uses: slackapi/[email protected] .0
144
+ uses: slackapi/[email protected] .1
145
145
with:
146
146
# Slack channel id, channel name, or user id to post message.
147
147
# See also: https://api.slack.com/methods/chat.postMessage#channels
@@ -172,7 +172,7 @@ Please note that **the message update step does not accept a channel name.** Set
172
172
173
173
` ` ` yaml
174
174
- id: slack
175
- uses: slackapi/[email protected] .0
175
+ uses: slackapi/[email protected] .1
176
176
with:
177
177
# The following message update step does not accept a channel name.
178
178
# Setting a channel ID here for consistency is highly recommended.
@@ -196,7 +196,7 @@ Please note that **the message update step does not accept a channel name.** Set
196
196
}
197
197
env:
198
198
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
199
- - uses: slackapi/[email protected] .0
199
+ - uses: slackapi/[email protected] .1
200
200
with:
201
201
# Unlike the step posting a new message, this step does not accept a channel name.
202
202
# Please use a channel ID, not a name here.
@@ -231,7 +231,7 @@ Please note that **reply to a message does not accept a channel name.** Set a ch
231
231
232
232
` ` ` yaml
233
233
- id : deployment_message
234
- uses :
slackapi/[email protected] .0
234
+ uses :
slackapi/[email protected] .1
235
235
with :
236
236
channel-id : " CHANNEL_ID"
237
237
payload : |
@@ -240,7 +240,7 @@ Please note that **reply to a message does not accept a channel name.** Set a ch
240
240
}
241
241
env :
242
242
SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
243
- -
uses :
slackapi/[email protected] .0
243
+ -
uses :
slackapi/[email protected] .1
244
244
with :
245
245
# Unlike the step posting a new message, this step does not accept a channel name.
246
246
# Please use a channel ID, not a name here.
@@ -273,7 +273,7 @@ Incoming Webhooks conform to the same rules and functionality as any of Slack's
273
273
` ` ` yaml
274
274
- name: Send custom JSON data to Slack workflow
275
275
id: slack
276
- uses: slackapi/[email protected] .0
276
+ uses: slackapi/[email protected] .1
277
277
with:
278
278
# For posting a rich message using Block Kit
279
279
payload: |
@@ -301,7 +301,7 @@ If you need to use a proxy to connect with Slack, you can use the `HTTPS_PROXY`
301
301
` ` ` yaml
302
302
- name: Post to a Slack channel via a proxy
303
303
id: slack
304
- uses: slackapi/[email protected] .0
304
+ uses: slackapi/[email protected] .1
305
305
with:
306
306
channel-id: 'CHANNEL_ID'
307
307
slack-message: 'This message was sent through a proxy'
0 commit comments