Skip to content

Commit

Permalink
slightly adjust messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
wechuli committed Feb 6, 2024
1 parent 543e76b commit 8d49e6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/checks/checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ export default class Checks {
let allChecksPass = false;
let missingChecks: ICheckInput[] = [];
let filteredChecksExcludingOwnCheck: ICheck[] = [];
const evaluationCompleteMessage = "Checks evaluation complete, reporting results";

do {
iteration++;
Expand All @@ -175,11 +176,12 @@ export default class Checks {

//check if the user wants us to poll
if (!this.poll) {
core.info(evaluationCompleteMessage);
break;
}
core.info(`Polling API for checks status, iteration: ${iteration} out of ${this.retries}`);
if (!inProgressChecks) {
core.info("Checks evaluation complete, reporting results");
core.info(evaluationCompleteMessage);
break;
}
await sleep(this.pollingInterval * 1000 * 60);
Expand Down

0 comments on commit 8d49e6e

Please sign in to comment.