From ea301174bec940850d429a1212fb4748d10d1ce7 Mon Sep 17 00:00:00 2001 From: Aleksandr Myrnyi Date: Thu, 12 Oct 2023 15:44:48 +0200 Subject: [PATCH] Update security.yml --- .github/workflows/security.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index d92b693f..8b45c221 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -80,9 +80,9 @@ jobs: # if: ${{ steps.docker-scan.outputs.total > 0 }} # run: exit 1 - # - name: Set Date and Time - # id: set-date - # run: echo "::set-output name=current_datetime::$(date +'%Y-%m-%d %H:%M:%S')" + - name: Set Date and Time + id: set-date + run: echo "::set-output name=current_datetime::$(date +'%Y-%m-%d %H:%M:%S')" # - name: Set Color # id: set-color @@ -104,7 +104,6 @@ jobs: "attachments": [ { "pretext": "Vulnerability scan outputs for ${{ steps.set-date.outputs.current_datetime }}", - "color": "$GITHUB_ENV_COLOR", "fields": [ { "title": "Status", @@ -116,7 +115,5 @@ jobs: ] } env: - DATE_TIME: ${{ steps.set-date.outputs.current_datetime }} - COLOR: ${{ steps.set-color.outputs.COLOR }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK