diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 74053940..4b08315f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -67,3 +67,15 @@ jobs: --artifact-type application/vnd.cncf.openpolicyagent.config.v1+json \ bundle.tar.gz:application/vnd.cncf.openpolicyagent.layer.v1.tar+gzip 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) }}