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 1efe608 commit 268f915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checkAudit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ jobs:
const commitHashes = fs.readFileSync(commitHashesFile, 'utf-8').split(/\r?\n/).filter(Boolean);
// Log the number of commit hashes found
console.log(`${commitHashes.length} commit hashes found`);
console.log(`${commitHashes.length} relevant audit commit hashes found: ${commitHashes}`);
const owner = context.repo.owner;
Expand Down Expand Up @@ -292,7 +292,7 @@ jobs:
allCommitsFound=false;
}
else console.log(`Commit ${hash} is associated with this PR. Check passed.`)
else console.log(`${colors.green}Commit ${hash} is associated with this PR. Check passed.${colors.reset}`)
} catch (error) {
console.log(`${colors.red}The following audit commit seems to be invalid: ${hash}${colors.reset}`);
console.log(`${colors.red}Please check if the 'auditCommitHash' in the audit log is accurate and try again.${colors.reset}`);
Expand Down

0 comments on commit 268f915

Please sign in to comment.