Skip to content

Commit

Permalink
Update amazon-cloudwatch-observability-image-scan.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mann authored Dec 3, 2024
1 parent 18c9818 commit f89c167
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,7 @@ jobs:
echo '${{ env.SCAN_RESULT }}'
- name: Send a saved artifact to a Slack workflow
if: success() || failure()
uses: slackapi/[email protected]
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: webhook-trigger
payload: |
results: |
${{ env.SCAN_RESULT }}
run: |
curl -X POST "${{ secrets.SLACK_WEBHOOK_URL }}" \
-H "Content-Type: application/json" \
-d '{"results": "${{ env.SCAN_RESULT }}"}'

0 comments on commit f89c167

Please sign in to comment.