From 45dbc1a955181f0370a56039776376caab0b3489 Mon Sep 17 00:00:00 2001 From: Sean Sylver Date: Tue, 1 Oct 2024 19:42:42 -0700 Subject: [PATCH 1/2] Test workflow --- .github/workflows/sonarscan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sonarscan.yml b/.github/workflows/sonarscan.yml index 962a49c7..33aaceee 100644 --- a/.github/workflows/sonarscan.yml +++ b/.github/workflows/sonarscan.yml @@ -37,7 +37,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '18' cache: 'yarn' cache-dependency-path: './client/wfprev-war/src/main/angular/yarn.lock' From 05c2a4f67367fdae467ce971ec7bc8a0db816348 Mon Sep 17 00:00:00 2001 From: Sean Sylver Date: Wed, 2 Oct 2024 10:35:14 -0700 Subject: [PATCH 2/2] 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 33aaceee..ad13eee2 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