Skip to content

Commit cba9656

Browse files
zimegClaude
andcommitted
docs: add errors to message posting examples
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
1 parent 22fc69b commit cba9656

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

example-workflows/Technique_2_Slack_API_Method/invite.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- name: Send the issue link into the Slack channel
2525
uses: slackapi/slack-github-action@v2.1.1
2626
with:
27+
errors: true
2728
method: chat.postMessage # https://docs.slack.dev/reference/methods/chat.postMessage/
2829
token: ${{ secrets.SLACK_BOT_TOKEN }}
2930
payload: |

example-workflows/Technique_4_Slack_CLI_Command/collaborators.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
if: ${{ steps.email.outputs.ok }}
5252
uses: slackapi/slack-github-action@v2
5353
with:
54+
errors: true
5455
method: chat.postMessage # https://docs.slack.dev/reference/methods/chat.postMessage/
5556
token: ${{ secrets.SLACK_BOT_TOKEN }}
5657
payload: |

example-workflows/Technique_4_Slack_CLI_Command/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- name: Post a deployment message
2525
uses: slackapi/slack-github-action@v2
2626
with:
27+
errors: true
2728
method: chat.postMessage
2829
token: ${{ secrets.SLACK_BOT_TOKEN }}
2930
payload: |

0 commit comments

Comments
 (0)