Skip to content

Commit

Permalink
filter by status
Browse files Browse the repository at this point in the history
  • Loading branch information
jefer94 committed Dec 17, 2024
1 parent 2ebe36c commit 9426c99
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ def github(self):

while True:
items = RepositoryDeletionOrder.objects.filter(
provider=RepositoryDeletionOrder.Provider.GITHUB, notified_at=None
provider=RepositoryDeletionOrder.Provider.GITHUB,
notified_at=None,
status=RepositoryDeletionOrder.Status.TRANSFERRING,
).exclude(id__in=ids)[:100]

if len(items) == 0:
Expand Down

0 comments on commit 9426c99

Please sign in to comment.