Skip to content

Commit ee0bbdf

Browse files
[no-relnote] Update GitHub Action slack-github-action for v2.0 API
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
1 parent 627d203 commit ee0bbdf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/e2e.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ jobs:
8080
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
8181
SUMMARY_URL: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
8282
with:
83-
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
84-
slack-message: |
85-
:x: On repository ${{ github.repository }} the Workflow *${{ github.workflow }}* has failed.
83+
method: chat.postMessage
84+
token: ${{ secrets.SLACK_BOT_TOKEN }}
85+
payload: |
86+
channel: ${{ secrets.SLACK_CHANNEL_ID }}
87+
text: ":x: On repository ${{ github.repository }} the Workflow *${{ github.workflow }}* has failed.
8688
87-
Details: ${{ env.SUMMARY_URL }}
89+
Details: ${{ env.SUMMARY_URL }}"

0 commit comments

Comments
 (0)