Skip to content

Commit 2a034d2

Browse files
fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent babf536 commit 2a034d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cdkConstructs/src/stacks/deleteUnusedStacks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ async function isClosedPullRequest(
216216
if (!response.ok) {
217217
console.log(`Failed to fetch PR ${pullRequestId}: ${response.status} ${await response.text()}`)
218218
// To avoid accidentally deleting stacks due to transient API failures, we treat errors as non-closed state
219-
// but do not cache the result to allow for retries on subsequent runs
219+
// and do not cache the result, allowing another fetch attempt later in this run if needed.
220220
return false
221221
}
222222

0 commit comments

Comments
 (0)