-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hello,
I'm trying to read a file and then send it in Text section but it's not working. Here is the sample:
- name: Read scan results summary
id: scan-results
run: |
SAST_SUMMARY=$(cat sast-summary.txt)
echo "::set-output name=SAST_SUMMARY::${SAST_SUMMARY}" - name: Send a message to Microsoft Teams
if: ${{ steps.pipeline-scan.outcome == 'failure' }}
uses: aliencube/[email protected]
with:
webhook_uri: ${{env.WEBHOOK_URI}}
title: 'Veracode Pipeline Scan found vulnerabilities in ${{ env.REPOSITORY_NAME }}'
summary: 'Flaws Summary: '
text: 'Flaws text: ${{steps.scan-results.outputs.SAST_SUMMARY}}'
theme_color: a72828
actions: '[{ "@type": "OpenUri", "name": "View Results", "targets": [{ "os": "default", "uri": "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}" }] }]'
Am I missing anything? Or this is not supported with the current version?
Metadata
Metadata
Assignees
Labels
No labels