Update validation-check.yaml

pull/3118/head
Lucas Machado 2023-10-10 15:35:51 +00:00 committed by Lucas Machado
parent 68d3ae9b46
commit b926f0b165
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ jobs:
if (thumbsUpReaction) {
console.log("The validation comment by github-actions[bot] has the required thumbs-up reaction.");
} else {
const createdAt = new Date(latestValidationComment.created_at).toLocaleString('en-US', { timeZoneName: 'short' });
console.error("Failed Check - Comment Created At:", createdAt);
core.setFailed("The latest validation comment by github-actions[bot] does not have the required thumbs-up reaction!");
}