gitleaks / gitleaks-action

Protect your secrets using Gitleaks-Action
https://gitleaks.io
Other
332 stars 128 forks source link

If the job fails before scan, do not include "No leaks detected" in the Summary #72

Closed weineran closed 2 years ago

weineran commented 2 years ago

Examples:

Issue: If the job exits early (fails) before the actual scan, the Summary still shows "No leaks detected", which is technically true, but certainly misleading :)

Instead, print something more correct like "❌ Scan did not complete"