File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -58,13 +58,11 @@ jobs:
5858 uses : slackapi/slack-github-action@b0fa283ad8fea605de13dc3f449259339835fc52
5959 if : ${{ github.ref_name == 'main' && github.event_name == 'schedule' && always() }}
6060 with :
61- # Slack channel id, channel name, or user id to post message.
62- # See also: https://api.slack.com/methods/chat.postMessage#channels
63- # You can pass in multiple channels to post to by providing a comma-delimited list of channel IDs.
64- channel-id : ' C03NF7KH128'
65- # For posting a simple plain text message
61+ method : chat.postMessage
62+ token : ${{ secrets.OCM_GITHUB_SLACK_BOT_TOKEN }}
6663 payload : |
6764 {
65+ "channel": "C03NF7KH128",
6866 "text": "${{ github.repository }} e2e Tests Status: ${{ steps.e2e-tests.conclusion }}",
6967 "blocks": [
7068 {
7775 }
7876 ]
7977 }
80- env :
81- SLACK_BOT_TOKEN : ${{ secrets.OCM_GITHUB_SLACK_BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments