Skip to content
Merged
13 changes: 6 additions & 7 deletions scripts/Setup-BranchRuleset.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,9 @@ $rulesetConfig = @{
# rule below - see that section for details on how CodeQL handles graceful skipping.
required_status_checks = @(
@{ context = "Stage 1: Linux Tests (.NET 5.0-10.0) + Coverage Gate" },
@{ context = "Stage 2: Windows Tests (.NET 5.0-10.0, Framework 4.6.2-4.8.1)" },
@{ context = "Stage 3: macOS Tests (.NET 6.0-10.0)" },
@{ context = "Security Scan (DevSkim)" },
@{ context = "CodeQL Security Analysis / Security Scan (CodeQL) (csharp) (pull_request)" }
@{ context = "Stage 2a: Windows Tests (.NET 5.0-10.0)" },
Comment thread
Chris-Wolfgang marked this conversation as resolved.
Outdated
@{ context = "Stage 2b: macOS Tests (.NET 6.0-10.0)" },
@{ context = "Security Scan (DevSkim)" }
Comment thread
Chris-Wolfgang marked this conversation as resolved.
)
}
},
Expand Down Expand Up @@ -278,10 +277,10 @@ try {
}
Write-Host " ✅ Required status checks (must pass before merging):" -ForegroundColor Gray
Write-Host " - Stage 1: Linux Tests (.NET 5.0-10.0) + Coverage Gate" -ForegroundColor DarkGray
Write-Host " - Stage 2: Windows Tests (.NET 5.0-10.0, Framework 4.6.2-4.8.1)" -ForegroundColor DarkGray
Write-Host " - Stage 3: macOS Tests (.NET 6.0-10.0)" -ForegroundColor DarkGray
Write-Host " - Stage 2a: Windows Tests (.NET 5.0-10.0)" -ForegroundColor DarkGray
Write-Host " - Stage 2b: macOS Tests (.NET 6.0-10.0)" -ForegroundColor DarkGray
Write-Host " - Stage 3: Windows .NET Framework Tests (4.6.2-4.8.1)" -ForegroundColor DarkGray
Comment thread
Chris-Wolfgang marked this conversation as resolved.
Write-Host " - Security Scan (DevSkim)" -ForegroundColor DarkGray
Write-Host " - CodeQL Security Analysis / Security Scan (CodeQL) (csharp) (pull_request)" -ForegroundColor DarkGray
Write-Host " ✅ Branches must be up to date before merging" -ForegroundColor Gray
Write-Host " ✅ Conversation resolution required before merging" -ForegroundColor Gray
Write-Host " ✅ Stale reviews dismissed when new commits are pushed" -ForegroundColor Gray
Expand Down
Loading