diff --git a/.github/workflows/security_check.yml b/.github/workflows/security_check.yml index 4b2f267..94730a9 100644 --- a/.github/workflows/security_check.yml +++ b/.github/workflows/security_check.yml @@ -41,7 +41,7 @@ jobs: webhook: ${{ secrets.SLACK_WEBHOOK_URL }} webhook-type: incoming-webhook payload: | - text: "*DWH-Exporter Dependency-Check Report*: ${{ job.status }}\nPlease check the report here: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" + text: "*DWH-Exporter Dependency-Check Report*: ${{ steps.depcheck.outcome }}\nPlease check the report here: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" # if DependencyCheck failed, the job should also fail, but only after the results were uploaded - name: Validate DependencyCheck outcome if: ${{ steps.depcheck.outcome == 'failure' }}