Skip to content

Commit

Permalink
ci: add MS Teams notifications (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen authored Oct 1, 2024
1 parent c46eaa1 commit cfb7fef
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,16 @@ jobs:
javadb.tar.gz:application/vnd.aquasec.trivy.javadb.layer.v1.tar+gzip
echo "Pushed to ${full_registry_url}"
done
done
- name: Microsoft Teams Notification
## Until the PR with the fix for the AdaptivCard version is merged yet
## https://github.com/Skitionek/notify-microsoft-teams/pull/96
## Use the aquasecurity fork
uses: aquasecurity/notify-microsoft-teams@master
if: failure()
with:
webhook_url: ${{ secrets.TRIVY_MSTEAMS_WEBHOOK }}
needs: ${{ toJson(needs) }}
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}

0 comments on commit cfb7fef

Please sign in to comment.