diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index 70aaab1cc..dad6a0850 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -44,7 +44,7 @@ jobs: echo "SUMMARY=$summary" >> "$GITHUB_ENV" - name: Send Slack Notification if: success() - uses: slackapi/slack-github-action@v1.23.0 + uses: slackapi/slack-github-action@v1.26.0 env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} with: @@ -52,7 +52,7 @@ jobs: slack-message: "${{ env.SUMMARY }}" - name: Send Failure notification if: failure() - uses: slackapi/slack-github-action@v1.23.0 + uses: slackapi/slack-github-action@v1.26.0 env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} with: @@ -146,7 +146,7 @@ jobs: fi - name: Send Slack Notification if Scan Ran Successfully if: steps.cve-summary.outputs.summary != '' - uses: slackapi/slack-github-action@v1.23.0 + uses: slackapi/slack-github-action@v1.26.0 with: slack-message: "New CVEs found! Check https://github.com/carvel-dev/kapp-controller/security/code-scanning for details \n ${{ steps.cve-summary.outputs.summary }}" channel-id: C010XR15VHU @@ -154,7 +154,7 @@ jobs: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - name: Send Failure notification if: failure() - uses: slackapi/slack-github-action@v1.23.0 + uses: slackapi/slack-github-action@v1.26.0 env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} with: