From 824147cb7b3683619622b7f07add531785ad24d5 Mon Sep 17 00:00:00 2001 From: Alejandro Alvarez Date: Fri, 12 Jul 2024 09:20:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20(trivy.yml):=20update=20Slack=20?= =?UTF-8?q?webhook=20secret=20to=20use=20DOCKER=5FSLACK=5FWEBHOOK=5FURL=20?= =?UTF-8?q?for=20better=20clarity=20and=20consistency=20across=20workflows?= =?UTF-8?q?.=20(#324)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/trivy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index c48116c..fbdfe7f 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -60,7 +60,7 @@ jobs: SLACK_MESSAGE: "View details on GitHub Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}. Triggered by repository: ${{ github.repository }} and job: ${{ github.job }}" SLACK_TITLE: "❌ ${{ github.repository }} ❌ Trivy failed on branch ${{ github.ref_name }} for commit ${{ github.sha }} in repository ${{ github.repository }}" SLACK_USERNAME: liquibot - SLACK_WEBHOOK: ${{ secrets.NIGHTLY_BUILDS_SLACK_WEBHOOK }} + SLACK_WEBHOOK: ${{ secrets.DOCKER_SLACK_WEBHOOK_URL }} SLACK_ICON_EMOJI: ":whale:" SLACK_FOOTER: "${{ github.repository }} - ${{ matrix.image.name }}${{ matrix.image.suffix }}:${{ github.sha }}" SLACK_LINK_NAMES: true @@ -135,7 +135,7 @@ jobs: SLACK_MESSAGE: "View details on GitHub Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}. Triggered by repository: ${{ github.repository }} and job: ${{ github.job }}" SLACK_TITLE: "❌ ${{ github.repository }} ❌ Docker Scout failed on branch ${{ github.ref_name }} for commit ${{ github.sha }} in repository ${{ github.repository }}" SLACK_USERNAME: liquibot - SLACK_WEBHOOK: ${{ secrets.NIGHTLY_BUILDS_SLACK_WEBHOOK }} + SLACK_WEBHOOK: ${{ secrets.DOCKER_SLACK_WEBHOOK_URL }} SLACK_ICON_EMOJI: ":whale:" SLACK_FOOTER: "${{ github.repository }} - ${{ matrix.image.name }}${{ matrix.image.suffix }}:${{ github.sha }}" SLACK_LINK_NAMES: true