Skip to content

Commit aadac7b

Browse files
authored
TestVariation clean up process does clean up project main branch (#157)
closes Visual-Regression-Tracker/Visual-Regression-Tracker#290
1 parent 0e0b743 commit aadac7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shared/tasks/tasks.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export class TasksService {
2424
const testVariations = await this.prismaService.testVariation.findMany({
2525
where: {
2626
updatedAt: { lte: dateRemoveAfter },
27+
branchName: { not: project.mainBranchName },
2728
},
2829
});
2930
this.logger.debug(

0 commit comments

Comments
 (0)