From d78aa93500f15799c01fab13b1219fba2ffe18b2 Mon Sep 17 00:00:00 2001 From: Carolina Delwing Rosa Date: Mon, 23 Dec 2024 13:59:26 -0300 Subject: [PATCH] docs: change slack notification to webhook --- .github/workflows/cluster_scanner.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cluster_scanner.yaml b/.github/workflows/cluster_scanner.yaml index 6e35426..cdfb7b0 100644 --- a/.github/workflows/cluster_scanner.yaml +++ b/.github/workflows/cluster_scanner.yaml @@ -53,13 +53,12 @@ jobs: if: env.CLUSTERS_FOUND == 'true' uses: rtCamp/action-slack-notify@v2.3.2 with: - SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} - SLACK_TOKEN: ${{ secrets.SLACK_PRIVATE_TEAM_TOKEN }} - #SLACK_WEBHOOK: ${{ secrets.SLACK_PRIVATE_TEAM_WEBHOOK }} + #SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} + #SLACK_TOKEN: ${{ secrets.SLACK_PRIVATE_TEAM_TOKEN }} + SLACK_WEBHOOK: ${{ secrets.SLACK_PRIVATE_TEAM_WEBHOOK }} SLACK_USERNAME: "spectromate" - SLACK_ICON_EMOJI: ":robot_face:" + SLACK_ICON_EMOJI: ":clock1:" SLACK_COLOR: "good" SLACKIFY_MARKDOWN: true - ENABLE_ESCAPES: true MESSAGE: | $(cat scripts/cluster-scanner/result.log)