diff --git a/.github/workflows/detect-secrets.yml b/.github/workflows/detect-secrets.yml index d93a57d2..693b3215 100644 --- a/.github/workflows/detect-secrets.yml +++ b/.github/workflows/detect-secrets.yml @@ -23,3 +23,12 @@ jobs: -c "detect-secrets --version; detect-secrets scan --all-files --exclude-files "^.git/.*" --update .secrets.baseline; detect-secrets audit --report --fail-on-unaudited --fail-on-live --fail-on-audited-real .secrets.baseline" + + - name: Report Status + if: always() + uses: ravsamhq/notify-slack-action@master + with: + status: ${{ job.status }} + notify_when: 'failure' + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}