@@ -63,32 +63,32 @@ jobs:
6363 echo "SUMMARY=$summary" >> $GITHUB_ENV
6464 echo ${{ env.SUMMARY }}
6565
66- - name : Send Slack Notification
67- uses : slackapi/slack-github-action@v2.0 .0
68- with :
69- webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
70- webhook-type : incoming-webhook
71- payload : |
72- text: "Trivy scan results"
73- blocks:
74- - type: "header"
75- text:
76- type: "plain_text"
77- text: "Trivy scan results for sofie-core-${{ matrix.image }}:latest"
78- - type: "section"
79- text:
80- type: "mrkdwn"
81- text: ":thisisfine: ${{ env.SUMMARY }}"
82- - type: "section"
83- text:
84- type: "mrkdwn"
85- text: "Read the full scan results on Github"
86- accessory:
87- type: "button"
88- text:
89- type: "plain_text"
90- text: ":github: Scan results"
91- emoji: true
92- value: "workflow_run"
93- url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
94- action_id: "button-action"
66+ # - name: Send Slack Notification
67+ # uses: slackapi/slack-github-action@v2.1 .0
68+ # with:
69+ # webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
70+ # webhook-type: incoming-webhook
71+ # payload: |
72+ # text: "Trivy scan results"
73+ # blocks:
74+ # - type: "header"
75+ # text:
76+ # type: "plain_text"
77+ # text: "Trivy scan results for sofie-core-${{ matrix.image }}:latest"
78+ # - type: "section"
79+ # text:
80+ # type: "mrkdwn"
81+ # text: ":thisisfine: ${{ env.SUMMARY }}"
82+ # - type: "section"
83+ # text:
84+ # type: "mrkdwn"
85+ # text: "Read the full scan results on Github"
86+ # accessory:
87+ # type: "button"
88+ # text:
89+ # type: "plain_text"
90+ # text: ":github: Scan results"
91+ # emoji: true
92+ # value: "workflow_run"
93+ # url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
94+ # action_id: "button-action"
0 commit comments