Skip to content

Commit

Permalink
Update security.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderM91 authored Oct 12, 2023
1 parent 030357b commit ea30117
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -104,7 +104,6 @@ jobs:
"attachments": [
{
"pretext": "Vulnerability scan outputs for ${{ steps.set-date.outputs.current_datetime }}",
"color": "$GITHUB_ENV_COLOR",
"fields": [
{
"title": "Status",
Expand All @@ -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

0 comments on commit ea30117

Please sign in to comment.