diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 00858ba..834002e 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -143,10 +143,13 @@ jobs: AWS_REGION: us-east-1 - name: Microsoft Teams Notification - uses: skitionek/notify-microsoft-teams@master + ## 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.MSTEAMS_WEBHOOK }} + webhook_url: ${{ secrets.TRIVY_MSTEAMS_WEBHOOK }} needs: ${{ toJson(needs) }} job: ${{ toJson(job) }} steps: ${{ toJson(steps) }} @@ -160,19 +163,3 @@ jobs: - uses: actions/checkout@v4 - uses: gautamkrishnar/keepalive-workflow@v2 - notify-on-teams: - name: Notify github actions status in MS teams - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - 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) }}