Skip to content

Commit 2aa2cf4

Browse files
committed
Remove hardcoded lower bound from merged: range in backport search
The merged:2020-01-01.. lower bound was unnecessary — the updated:>=90d filter already limits candidates to recently active PRs in steady state. Use merged:..{cutoff} to express only the upper bound (not yet eligible).
1 parent cc5e96e commit 2aa2cf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/jobs/scripts/backport_labels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def main() -> int:
156156
f"-label:{Labels.READY_FOR_BACKPORT} "
157157
f"-label:{Labels.PR_CHERRYPICK} "
158158
f"-label:{Labels.PR_BACKPORT} "
159-
f"merged:2020-01-01..{cutoff} "
159+
f"merged:..{cutoff} "
160160
f"updated:>={updated_since}"
161161
)
162162
print(f"Search query: {query}")

0 commit comments

Comments
 (0)