Skip to content

Commit

Permalink
Testing solution to hanging action problem
Browse files Browse the repository at this point in the history
  • Loading branch information
dgaldao authored Apr 26, 2024
1 parent e6dab24 commit 79799e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ async function start() {

if (exitCode == 0) {
core.info("✅ No leaks detected");
process.exit(0);
} else if (exitCode == gitleaks.EXIT_CODE_LEAKS_DETECTED) {
core.warning("🛑 Leaks detected, see job summary for details");
process.exit(1);
Expand Down

0 comments on commit 79799e4

Please sign in to comment.