Skip to content

Commit

Permalink
Test secret scanning error
Browse files Browse the repository at this point in the history
  • Loading branch information
hampus-andersson-op committed Apr 22, 2024
1 parent 7d17cce commit 0c4b089
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/secretscanning/SecretScanningService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class SecretScanningService {
title: 'Number of exposed secrets control failed',
});
} else if (error.status === 404) {
console.log(error.data.message);
if (error.message === 'Secret scanning is disabled on this repository.') {
core.warning(error.message, {
title: 'Number of exposed secrets control failed',
Expand Down

0 comments on commit 0c4b089

Please sign in to comment.