Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDEnYO committed Aug 6, 2024
1 parent 6a22711 commit c5e72a3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/checkAudit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ jobs:
}
else console.log(`Commit ${hash} is associated with this PR. Check passed.`)
} catch (error) {
console.log(`Error fetching commit ${hash}: ${error.message}`);
console.error(`The following audit commit seems to be invalid: ${hash}`);
console.error(`Please check if the 'auditCommitHash' in the audit log is accurate and try again.`);
console.error(`Aborting now.`);
Expand All @@ -299,7 +298,12 @@ jobs:
(async () => {
for (const hash of commitHashes) {
console.log(`next hash: ${hash}`)
await checkCommit(hash);
try {
await checkCommit(hash);
} catch {
throw new Error(``);
}
}
// Set environment variable based on whether all commits are found
Expand Down

0 comments on commit c5e72a3

Please sign in to comment.