Skip to content

Commit

Permalink
tryfix2
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed May 15, 2024
1 parent 7dc7e4a commit 4545740
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit 4545740

Please sign in to comment.