diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 8608f2c..99694f2 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -72,4 +72,16 @@ jobs: javadb.tar.gz:application/vnd.aquasec.trivy.javadb.layer.v1.tar+gzip echo "Pushed to ${full_registry_url}" - done \ No newline at end of file + 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) }} \ No newline at end of file