Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/actions/CleanUpStalePRChecks/action.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ foreach ($pr in $prs) {
Write-Host ""
Write-Host "Checking PR #$($pr.number): $($pr.title)"

# Check if PR is mergeable
if ($pr.mergeable -ne "MERGEABLE") {
Write-Host " PR is not in MERGEABLE state (current: $($pr.mergeable)), skipping"
# Skip PRs with merge conflicts - they need manual resolution first
# Process PRs in MERGEABLE and UNKNOWN states (UNKNOWN means GitHub hasn't computed mergeability yet)
if ($pr.mergeable -eq "CONFLICTING") {
Write-Host " PR has merge conflicts (state: CONFLICTING), skipping"
continue
}

Expand Down