diff --git a/processor/src/giteatDB.ts b/processor/src/giteatDB.ts index 73a1b4eafa..1cecd806ba 100644 --- a/processor/src/giteatDB.ts +++ b/processor/src/giteatDB.ts @@ -76,7 +76,8 @@ export const giteaDB: GiteaDB = { row => row.repo_id === repoId && row.type === TaskType.Migration && - row.status === MigrationStatus.Done, + row.status === MigrationStatus.Done && + row.default_branch !== '' ) },