From 9f560e804837a8da761d39dc0856cdc5400f1721 Mon Sep 17 00:00:00 2001 From: Sean Sylver Date: Wed, 2 Oct 2024 10:35:14 -0700 Subject: [PATCH] Update Sonarbot slack message --- .github/workflows/sonarscan.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/sonarscan.yml b/.github/workflows/sonarscan.yml index 33aaceee5..ad13eee26 100644 --- a/.github/workflows/sonarscan.yml +++ b/.github/workflows/sonarscan.yml @@ -86,10 +86,8 @@ jobs: uses: ravsamhq/notify-slack-action@2.5.0 with: status: 'failure' - notification_title: "SonarScan - Failed on ${{github.ref_name}} - <${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}|View Failure>" + notification_title: "SonarScan - Failed on ${{github.ref_name}} - <${{ vars.SONARCLOUD_NEW_CODE_URL }}|View SonarCloud Failure>" message_format: ":fire: *SonarScan* failed in <${{github.server_url}}/${{github.repository}}/${{github.ref_name}}|${{github.repository}}>" footer: "Linked Repo <${{github.server_url}}/${{github.repository}}|${{github.repository}}> | <${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}|View Failure>" - mention_groups: "C06LDNP3Q7M,!channel" - mention_groups_when: "failure" env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} \ No newline at end of file