Skip to content

Commit

Permalink
fix: accurately define ncu-ci report condition (#697)
Browse files Browse the repository at this point in the history
Problems are ignored if they occurred in less than two PRs.
Thus, they are reported if they failed in two or more PRs.
  • Loading branch information
tniessen committed Jun 12, 2023
1 parent ec6e14a commit 02a9163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ci/failure_aggregator.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class FailureAggregator {
let output = 'Failures in ';
output += `[${jobName}/${first.jobid}](${first.link}) to `;
output += `[${jobName}/${last.jobid}](${last.link}) `;
output += 'that failed more than 2 PRs\n';
output += 'that failed 2 or more PRs\n';
output += '(Generated with `ncu-ci ';
output += `${process.argv.slice(2).join(' ')}\`)\n\n`;

Expand Down

0 comments on commit 02a9163

Please sign in to comment.