Skip to content

Commit 39ef7e1

Browse files
committed
fix(milestonemover): only move opened issues
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent f77c4b0 commit 39ef7e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

milestonemover/run.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function checkRateLimit($client) {
172172
// Get all issues in the source milestone
173173
$issues = $paginator->fetchAll($client->api('issue'), 'all', [$org, $repo, [
174174
'milestone' => $sourceMilestoneNumber,
175-
'state' => 'all',
175+
'state' => 'open',
176176
]]);
177177

178178
if (empty($issues)) {

0 commit comments

Comments
 (0)