@@ -29,7 +29,7 @@ Posting a message with the [`chat.postMessage`](https://docs.slack.dev/reference
2929
3030``` yaml
3131- name : Post text to a Slack channel
32- uses :
slackapi/[email protected] .0 32+ uses :
slackapi/[email protected] .1 3333 with :
3434 method : chat.postMessage
3535 token : ${{ secrets.SLACK_BOT_TOKEN }}
@@ -44,7 +44,7 @@ More complex message layouts, such as messages made with [Block Kit](https://doc
4444
4545` ` ` yaml
4646- name : Post blocks to a Slack channel
47- uses :
slackapi/[email protected] .0 47+ uses :
slackapi/[email protected] .1 4848 with :
4949 method : chat.postMessage
5050 token : ${{ secrets.SLACK_BOT_TOKEN }}
@@ -65,7 +65,7 @@ Updating a message after it's posted can be done with the [`chat.update`](https:
6565` ` ` yaml
6666- name: Initiate the deployment launch sequence
6767 id: launch_sequence
68- uses: slackapi/[email protected] .0 68+ uses: slackapi/[email protected] .1 6969 with:
7070 method: chat.postMessage
7171 token: ${{ secrets.SLACK_BOT_TOKEN }}
@@ -81,7 +81,7 @@ Updating a message after it's posted can be done with the [`chat.update`](https:
8181- name: Countdown until launch
8282 run: sleep 10
8383- name: Update the original message with success
84- uses: slackapi/[email protected] .0 84+ uses: slackapi/[email protected] .1 8585 with:
8686 method: chat.update
8787 token: ${{ secrets.SLACK_BOT_TOKEN }}
@@ -103,7 +103,7 @@ Posting [threaded replies to a message](https://docs.slack.dev/messaging/#thread
103103
104104` ` ` yaml
105105- name: Initiate a deployment
106- uses: slackapi/[email protected] .0 106+ uses: slackapi/[email protected] .1 107107 id: deployment_message
108108 with:
109109 method: chat.postMessage
@@ -112,7 +112,7 @@ Posting [threaded replies to a message](https://docs.slack.dev/messaging/#thread
112112 channel: ${{ secrets.SLACK_CHANNEL_ID }}
113113 text: "Deployment started :eyes:"
114114- name: Conclude the deployment
115- uses: slackapi/[email protected] .0 115+ uses: slackapi/[email protected] .1 116116 with:
117117 method: chat.postMessage
118118 token: ${{ secrets.SLACK_BOT_TOKEN }}
@@ -128,7 +128,7 @@ Calling [a Slack API method](https://docs.slack.dev/reference/methods) with [`@s
128128
129129` ` ` yaml
130130- name: Share a file to that channel
131- uses: slackapi/[email protected] .0 131+ uses: slackapi/[email protected] .1 132132 with:
133133 method: files.uploadV2
134134 token: ${{ secrets.SLACK_BOT_TOKEN }}
0 commit comments