From de83b7d83717e898597a3161b539c47a9b6c5ef5 Mon Sep 17 00:00:00 2001 From: simar7 <1254783+simar7@users.noreply.github.com> Date: Fri, 18 Oct 2024 23:32:28 -0600 Subject: [PATCH] Update cron.yml --- .github/workflows/cron.yml | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) 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) }}