You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/required_checks_policy.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,7 @@ jobs:
148
148
149
149
if ($requiredChecks.Count -eq 0) {
150
150
if ($env:CI_FAIL_IF_NO_POLICY -eq 'true') {
151
-
Write-Error "❌ No required checks found for the changed paths, but CI_FAIL_IF_NO_POLICY is set."
151
+
Write-Error "❌ No required checks found for the changed paths, but 'failIfNoPolicy' is set to true."
152
152
exit 1
153
153
}
154
154
@@ -236,7 +236,7 @@ jobs:
236
236
elseif ($check.status -eq "queued") {
237
237
$completed = $false
238
238
if ((Get-Date -AsUTC) - $startedAt -gt $TimeoutQueued) {
239
-
Write-Error "❌ Check '$requiredCheck' is still queued after $($TimeoutQueued.TotalMinutes) minutes. Details: $($check.html_url)"
239
+
Write-Error "❌ Check '$requiredCheck' is still queued after $($TimeoutQueued.TotalMinutes) minutes (timeout-minutes-queued-checks: $($env:CI_TIMEOUT_MINUTES_QUEUED_CHECKS)). Details: $($check.html_url)"
240
240
exit 1
241
241
}
242
242
}
@@ -250,7 +250,7 @@ jobs:
250
250
$completed = $false
251
251
if ((Get-Date -AsUTC) - $startedAt -gt $TimeoutCreated) {
Write-Error "❌ Check '$requiredCheck' wasn't created after $($TimeoutCreated.TotalMinutes) minutes. Available checks:`n$($checkNames -join "`n")"
253
+
Write-Error "❌ Check '$requiredCheck' wasn't created after $($TimeoutCreated.TotalMinutes) minutes (timeout-minutes-created-checks: $($env:CI_TIMEOUT_MINUTES_CREATED_CHECKS)). Available checks:`n$($checkNames -join "`n")"
0 commit comments