From 454574066fd0b25704f8ee7e956ef81a8fa08f3c Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Thu, 16 May 2024 00:08:26 +0200 Subject: [PATCH] tryfix2 --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index d203c9d0..7f1019c6 100644 --- a/action.yml +++ b/action.yml @@ -350,7 +350,7 @@ runs: await sendSlackMessage({ slack_token: inputs.slack_token, - text: "[security-action] ${{ fromJson(steps.actor-slack.outputs.result) }} action failed, plz take a look. /cc ${{fromJson(steps.assignees-slack.outputs.result)}} ${{ fromJson(steps.reviewdog-fail-log-head.outputs.result) }", + text: "", message, channel: '#secops-hotspots', color: 'red', @@ -362,10 +362,10 @@ runs: const actionPath = '${{ github.action_path }}' const {default: sendSlackMessage} = await import(`${actionPath}/src/steps/sendSlackMessage.js`) const message = null - + await sendSlackMessage({ slack_token: inputs.slack_token, - text: "[semgrep] ${{ fromJson(steps.actor-slack.outputs.result) }} pushed commits. /cc ${{fromJson(steps.assignees-slack.outputs.result)}}", + text: "", message, channel: '#secops-hotspots', color: 'green',